Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: undo/redo #42

Open
ahttraga opened this issue Apr 14, 2023 · 2 comments
Open

Feature request: undo/redo #42

ahttraga opened this issue Apr 14, 2023 · 2 comments

Comments

@ahttraga
Copy link

Is it possible to implement undo/redo, as in ratpoison:

@deffn Command undo
Undo the last change of frame layout. This is especially helpful
after a @command{only} command. One can step at most @dfn{maxundos}
steps back in frame layout history.
@EnD deffn

@deffn Command redo
redo the last change that was undone.
@EnD deffn

(from ratpoison-1.4.9/doc/ratpoison.texi)

@project-repo
Copy link
Owner

Hi ahttraga

This is an interesting request. We will investigate further.

Our tentative answer is that we won't implement this because it would
dramatically expand the state Cagebreak has to keep track of and would
drastically bloat the dump output etc.

This does not mean that it would be impossible to implement but we will
take the added complexity into consideration when deciding on the
implementation.

Depending on how much you're willing to work for this feature you could
of course always try to write a script which continuously listens on the
Cagebreak socket and keeps track of any state changes but I think that
might be a bit over the top...

cheers
project-repo

@VehementHam
Copy link

StumpWM has this feature. Not sure how they do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants