Closed tmpm697 closed 4 years ago
sidenote: in latest st
this problem also not reproducible
@neeasade
in xst config.def.h i see:
{ XK_BackSpace, Mod1Mask, "\033\177", 0, 0},
while in st i see:
{ XK_BackSpace, XK_NO_MOD, "\177", 0, 0},
{ XK_BackSpace, Mod1Mask, "\033\177", 0, 0},
yes, adding { XK_BackSpace, XK_NO_MOD, "\177", 0, 0},
worked.
@neeasade should we fix it in xst?
@actionless yes, will PR
I don't know if this is related to my problem but I notice now that I have to backspace twice to delete the first character in a string now. Subsequent backspaces work properly, but the first one requires two backspace presses.
EDIT: I realized the first backspace is occuring but there is a long delay (well over 500 ms) until it affects the input buffer. I haven't noticed this with any other key so far.
You might decrease the keyrate in X window -- .xserverrc?
I already decrease the xset rate delay for all keys in .xinitrc. I can try adding an extra delay for backspace. I also noticed the standard st package from the AUR doesn't have this issue. I think this started with a recent update of xst. Thanks for the suggestion though I'm going to try it if I don't find another resolution.
this started with a recent update of xst
could you please do git-bisect-ing for your usecase?
I started at git tag v0.8.4. I got this output:
079cf8cd6bc811056750a10ec876d23a50ea6cce is the first bad commit commit 079cf8cd6bc811056750a10ec876d23a50ea6cce Author: neeasade neeasade@users.noreply.github.com Date: Sun Jul 12 16:44:28 2020 -0500
backspace definition -- fixes https://github.com/gnotclub/xst/issues/100 (#105)
config.def.h | 1 + 1 file changed, 1 insertion(+)
@kevindirect
any difference when applying this patch? https://github.com/gnotclub/xst/pull/107/files (it fixes another problem but i just thought those might be related)
@kevindirect sorry, the new link to PR: https://github.com/gnotclub/xst/pull/109 (for some reason force-pushing to closed PR makes it not possible to re-open it back)
(in order to test that patch you'll need either to apply it locally together with #108 or re-generate terminfo-s with tic
manually)
this issue is resolved for me with #109 (and after clearing out my stale ~/.terminfo
)
Same, issue was resolved for me on revision 11. Thanks
xst 1:0.8.4.r0.gda50afd-1 os: archlinux up-to-date step:
^H
is backspace, I expect it will del previous char as in normal when edit command in prompt, I don't have issue with previous xst.