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

Precedent input when typing ↑ #5

Closed
rchoffardet opened this issue Oct 27, 2017 · 5 comments
Closed

Precedent input when typing ↑ #5

rchoffardet opened this issue Oct 27, 2017 · 5 comments

Comments

@rchoffardet
Copy link

It would be really great if the site behaved like a terminal (and it would fit with the current design). That's why it would be nice if the site were to go back to recent history when you press the "↑" key.

@bbashy
Copy link
Contributor

bbashy commented Oct 27, 2017

I tried that hoping someone had done some amazing magic!

@sebastiandedeyne
Copy link
Member

Might be cool to keep this in local storage 🤔

@rchoffardet
Copy link
Author

rchoffardet commented Oct 27, 2017

@sebastiandedeyne : Originally, I thought it would be done in a basic array variable. But your idea is so much better!

@bbashy : I might try to make a PoC this evening 😃

@rchoffardet
Copy link
Author

The only "complicated" point I see is the strange behavior of modifying Shell history:

When you modify an element of the history, it remains modified until you execute the modified command. Then, the change is discarded. BUT, all the others changes still remain.

@freekmurze
Copy link
Member

We'll handle this further in #13

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

4 participants