Closed mandulaj closed 1 month ago
@mandulaj This is a good point! It's not supported. I will look into it.
I played around with the current library: github.com/chzyer/readline
But unfortunately it cannot detect SHIFT
. I would have to write my own low level input handling which would not be portable across platforms or even shells within the same platform (eg zsh vs bash on a Mac).
Will try to come up with something. I really like the idea, but I am sceptic that I can come up with a solution anytime soon.
This has been very interesting. I learned a lot about how the keyboard works. Apparently my mac keyboard doesn't send "shift+
Long story short, I don't know how to implement this :/.
Love this tool! Is there a way though to write the prompts across multiple lines into the interactive mode. I tried
Shift-Enter
Ctrl-Enter
but all of them submit the prompt....