Repository navigation
Replies: 12 comments
|
For now you can try: |
|
Thanks! Yeah, running a readline wrapper is definitely a workaround for now. I'll leave the issue open until this is implemented in |
|
This probably needs a properly working |
|
This was recently fixed and should work fine after updating V. |
Do I need to do anything special? Arrow up/down still just sends the sequence for me: ❯ v
Welcome to the V REPL (for help with V itself, type `exit`, then run `v help`).
V 0.2.1 c66ee8a
Use Ctrl-C or `exit` to exit, or `help` to see other available commands
>>> println("hello")
hello
>>> ^[[A^[[BmacOS 11.1 |
|
You should run |
|
@serkonda7 doesn't work for me after |
|
@adelarsq could you please paste the output of |
|
@serkonda7 yes. For For |
|
Oh, I looked into https://github.com/vlang/v/tree/master/vlib/readline and indeed it lacks a macos implementation. |
|
Sounds great |
|
As history is obviously meant to be supported already (since it is supported for other platforms and mentioned as TODO in source) it should be labelled as a bug imo |
Uh oh!
There was an error while loading. Please reload this page.
I often feel the need of stepping in the history while trying something out in the repl. It would be great if the repl supported the up- and down arrows to step backwards and forward in the history like python's repl.
Right now it seems like
[[Aand[[Bisn't handled at all. I guess this would need to be implemented by extendingreadlineto support syscalls (or create a separate keyboard package for events).All reactions