on master help sign in
Merge pull request #227 from vglfr/master

Handle `Ctrl-h` (backspace) in alacritty

commite4fb394cdf9565673697af6aba9c6427337a9b05 authorJonathan Daugherty <cygnus@foobox.com> dateSat 12 Mar 2022, 09:57 (5 years ago) parentdaf7641e909659
2 files changed+2−2
src/Graphics/Vty/Config.hs+1−1 src/Graphics/Vty/Input/Terminfo.hs+1−1
src/Graphics/Vty/Config.hs+1−1
@@ -54,7 +54,7 @@
5454-- If a debug log is requested then vty will output the current input
5555-- table to the log in the above format. A workflow for using this is
5656-- to set @VTY_DEBUG_LOG@. Run the application. Check the debug log for
57−-- incorrect mappings. Add corrected mappings to @$HOME/.vty/config@.
57+-- incorrect mappings. Add corrected mappings to @$HOME\/.vty\/config@.
5858--
5959-- = Unicode Character Width Maps
6060--
src/Graphics/Vty/Input/Terminfo.hs+1−1
@@ -91,7 +91,7 @@ specialSupportKeys =
9191 -- special support for ESC
9292 , ("\ESC",EvKey KEsc []), ("\ESC\ESC",EvKey KEsc [MMeta])
9393 -- Special support for backspace
94− , ("\DEL",EvKey KBS []), ("\ESC\DEL",EvKey KBS [MMeta])
94+ , ("\DEL",EvKey KBS []), ("\ESC\DEL",EvKey KBS [MMeta]), ("\b",EvKey KBS [])
9595 -- Special support for Enter
9696 , ("\ESC\^J",EvKey KEnter [MMeta]), ("\^J",EvKey KEnter [])
9797 -- explicit support for tab