Merge pull request #227 from vglfr/master

Handle `Ctrl-h` (backspace) in alacritty
This commit is contained in:
Jonathan Daugherty 2022-03-12 09:57:44 -08:00 committed by GitHub
commit e4fb394cdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@
-- If a debug log is requested then vty will output the current input -- If a debug log is requested then vty will output the current input
-- table to the log in the above format. A workflow for using this is -- table to the log in the above format. A workflow for using this is
-- to set @VTY_DEBUG_LOG@. Run the application. Check the debug log for -- to set @VTY_DEBUG_LOG@. Run the application. Check the debug log for
-- incorrect mappings. Add corrected mappings to @$HOME/.vty/config@. -- incorrect mappings. Add corrected mappings to @$HOME\/.vty\/config@.
-- --
-- = Unicode Character Width Maps -- = Unicode Character Width Maps
-- --

View File

@ -91,7 +91,7 @@ specialSupportKeys =
-- special support for ESC -- special support for ESC
, ("\ESC",EvKey KEsc []), ("\ESC\ESC",EvKey KEsc [MMeta]) , ("\ESC",EvKey KEsc []), ("\ESC\ESC",EvKey KEsc [MMeta])
-- Special support for backspace -- Special support for backspace
, ("\DEL",EvKey KBS []), ("\ESC\DEL",EvKey KBS [MMeta]) , ("\DEL",EvKey KBS []), ("\ESC\DEL",EvKey KBS [MMeta]), ("\b",EvKey KBS [])
-- Special support for Enter -- Special support for Enter
, ("\ESC\^J",EvKey KEnter [MMeta]), ("\^J",EvKey KEnter []) , ("\ESC\^J",EvKey KEnter [MMeta]), ("\^J",EvKey KEnter [])
-- explicit support for tab -- explicit support for tab