summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-06-07 22:09:22 +0000
committerGitHub <noreply@github.com>2019-06-07 22:09:22 +0000
commit527dc8f564823d3dd01f79f22614271c7f3bc518 (patch)
treeaa8555499ec2f40c291c0c7634d0cd1f8b63b9a6 /extra
parentf2b1bfdf37aea62e79b1791127eaf1507edfecd9 (diff)
Fix ncurses backspace key
Ncurses does some special handling for backspace, normally comparing it to the KEY_BACKSPACE constant. However to make this work, the right backspace escape sequence needs to be set in the terminfo. XTerm has this set to ^H, but it always sends ^H. Since Alacritty usually sends ^? instead, this needs to be specified to allow correct interpretation for ncurses.
Diffstat (limited to 'extra')
-rw-r--r--extra/alacritty.info2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/alacritty.info b/extra/alacritty.info
index 6691eef6..f601653d 100644
--- a/extra/alacritty.info
+++ b/extra/alacritty.info
@@ -52,7 +52,7 @@ alacritty+common|base fragment for alacritty,
sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m, smul=\E[4m,
tbc=\E[3g, vpa=\E[%i%p1%dd, E3=\E[3J,
- kbs=^H,
+ kbs=^?,
ritm=\E[23m, sitm=\E[3m,
mc5i,
mc0=\E[i, mc4=\E[4i, mc5=\E[5i,