-
Notifications
You must be signed in to change notification settings - Fork 48
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
Backspace does not work #52
Comments
Tested using:
|
Control h is backspace in ASCII, so perhaps a translation is in order? On Sun, Oct 4, 2015, 5:36 AM Katze [email protected] wrote:
|
So if I just do it like I did in this Gist everything is fine? |
Interesting. What is the value of your |
echo $TERM prints |
Hmm. I've tried running this in a few different ways, and I always get the same result which is that Can you give some more information on your environment, and what you are running to get this happening? Is the example in the gist above what you are using to re-produce this? Sorry for the inconvenience! |
The gist above is exactly what I used to test with. I just made a new gist containing my current test program. If I now run this and press the Backspace-key it prints It only behaves so when I run it under X (window manager, terminal and so on do not seem to matter at all). I am running:
Edit: if you need any more detailed information about e.g. compile options of these programs, just tell me. |
@benaryorg just a head's up: I ran into the same issue with I'm willing to bet termbox itself exhibits this bug, although I've not yet tested it. Might be out of scope for Rustbox to fix issues with older terminals like these? |
I did read the whole entry of Furthermore the terminal I've used first (terminology) is part of the Enlightenment project which is being actively supported, to my knowledge. At least enlightenment itself keeps having releases, as do the underlying libraries Edit: But shouldn't at least |
I tried to react to a
Key::Backspace
in my program but I did not receive it, so I displayed the event that occurred and it was read as aKeyEvent(Ctrl('h'))
.I don't know if rustbox or the underlying libraries are the problem but I will investigate further.
The text was updated successfully, but these errors were encountered: