ckardaris / ucollage

An extensible command line image viewer inspired by vim
GNU General Public License v3.0
210 stars 3 forks source link

Problems with special characters input in prompt (Del, Backspace, etc.) #1

Open KevCui opened 3 years ago

KevCui commented 3 years ago
ckardaris commented 3 years ago

Backspace should be working. I forgot about delete. I will add it in the next commit.

ckardaris commented 3 years ago

@KevCui I believe is works as expected now. Tell me if you still have problems.

ckardaris commented 3 years ago

I suspected the problem may have to do with the terminal being used. xterm was working for me. I checked on some other terminals and the Backspace issue is there. Del works though. I will work on it

ckardaris commented 3 years ago

I think the issue is resolved. Tell me if I got it right this time

KevCui commented 3 years ago

Thanks for the fix. I checked the latest commit:

(For me, backspace is necessary. Usually, I don't bother to use delete. Thanks for the effort!)

ckardaris commented 3 years ago

NOTE

I should use this issue to fix problems relating to the input of other characters as well, i.e. Home and End keys, and also future requests for characters I have forgotten about. That's why I am renaming it to something a bit more general and I won't be closing it just yet.

Any other input issues in the prompt should be discussed here.