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

[REPL] Cursor navigation and history #1416

Open
x1unix opened this issue Dec 7, 2023 · 1 comment
Open

[REPL] Cursor navigation and history #1416

x1unix opened this issue Dec 7, 2023 · 1 comment

Comments

@x1unix
Copy link

x1unix commented Dec 7, 2023

Description

Most REPLs like ipython, node, etc. support cursor and history navigation using arrow keys.
Currently, REPL mode (gno repl) is missing this functionality.

image

Gno repl doesn't handle arrow keys

Suggestions

Maybe smth like go-readline can be useful.

@thehowl
Copy link
Member

thehowl commented Dec 7, 2023

FYI, when I'm in my terminal, I use rlwrap to do this: https://github.com/hanslub42/rlwrap

Nevertheless, let's add this as a native REPL feature :)

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

No branches or pull requests

2 participants