ucollage icon indicating copy to clipboard operation
ucollage copied to clipboard

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

Open KevCui opened this issue 3 years ago • 6 comments

  • Use script to load images
  • Enter monocle mode with [m] and type some characters in exec prompt.
  • Type 'Delete' or 'Backspace' key won't remove inputted letters

KevCui avatar Oct 05 '20 09:10 KevCui

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

ckardaris avatar Oct 05 '20 09:10 ckardaris

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

ckardaris avatar Oct 05 '20 10:10 ckardaris

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 avatar Oct 05 '20 11:10 ckardaris

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

ckardaris avatar Oct 05 '20 12:10 ckardaris

Thanks for the fix. I checked the latest commit:

  • In alacritty, both delete and backspace are working well
  • In st, backspace works but delete is not working

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

KevCui avatar Oct 05 '20 12:10 KevCui

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.

ckardaris avatar Oct 05 '20 12:10 ckardaris