Lineeditor
Lineeditor copied to clipboard
Examples don't seem to pick up non-character keyes
Describe the bug I checked out the source and ran several of the examples. In all cases the prompt wouldn't respond to the enter or backspace key, or any other keys I tried other than typing letters or spaces.
To Reproduce Steps to reproduce the behavior: Check out source. cargo run --example cursor_style Try to enter a command
Expected behavior
Should be able to enter commands with enter
and delete characters with backspace
GQL (please complete the following information): 0.2.0
Hello @sadmac7000,
In the key bindings and drop down auto complete examples you can find an examples for binding common non-character keyes and custom key bindings,
If you have suggestion to improve samples and add any case feel free to suggest
Thank you, Amr Hesham
Not binding enter in the examples means it is impossible to quit them. I had to kill the application from another window.
Oh, you are right i think we should register at least quit binding for all examples,
Done, Thank you @sadmac7000