Skip to content

Conversation

@fogti
Copy link
Contributor

@fogti fogti commented Dec 31, 2020

Fixes #295

@osa1
Copy link
Owner

osa1 commented Dec 31, 2020

I'm surprised backspace worked for you in the past. I just checked commit history of term_input and as far as I can see we never mapped 8 to anything. Could you tell me which terminal you are using so that I can test this and see which commit broke this and why?

@fogti
Copy link
Contributor Author

fogti commented Dec 31, 2020

I'm using xterm version 351, installed on Gentoo Linux.

@osa1
Copy link
Owner

osa1 commented Dec 31, 2020

It seems to be a change in xterm. If I try with xterm 330 backspace works fine, with 363 it doesn't.

Ideally we should read this stuff from xterm's terminfo, but in the meantime this patch should be good enough.

@osa1 osa1 merged commit 9cd907c into osa1:master Jan 1, 2021
osa1 added a commit that referenced this pull request Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backspace doesn't work anymore

2 participants