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: arrow keys to scroll through history #51

Open
aaronjanse opened this issue May 26, 2020 · 2 comments
Open

Feature request: arrow keys to scroll through history #51

aaronjanse opened this issue May 26, 2020 · 2 comments

Comments

@aaronjanse
Copy link

It would be cool if users could do:

  1. reload
  2. see error
  3. press up arrow
  4. type confirm to run reload confirm
@rcampbel3
Copy link

This request is actually to add readline support mcrcon so that arrow keys can be used to go back and forth through commandline history. I'm accustomed to having this in just about every cli app, and would love to see it in mcrcon as well.

https://tiswww.case.edu/php/chet/readline/rltop.html

I really would like to see every CLI tool use readline.

In the meantime, you can add readline support to cli tools that don't support readline by using 'rlwrap' -- a readline wrapper as follows:

rlwrap mcrcon -H 127.0.0.1 -P 25575 -p $PASSWORD -t

@sludin
Copy link

sludin commented Aug 17, 2020

I just coincidentally submitted a pull request adding readline support (for linux and osx at least). Did not know about the rlwrap command. Learn something new.

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

No branches or pull requests

4 participants