show_key kitten: In kitty mode show the actual bytes sent by the terminal rather than a re-encoding of the parsed key event

Also port the kitten to Go
This commit is contained in:
Kovid Goyal
2023-04-26 21:48:53 +05:30
parent 7b6d11fd1e
commit 019359b219
9 changed files with 215 additions and 140 deletions

View File

@@ -11,6 +11,7 @@ import (
"kitty/kittens/hints"
"kitty/kittens/hyperlinked_grep"
"kitty/kittens/icat"
"kitty/kittens/show_key"
"kitty/kittens/ssh"
"kitty/kittens/themes"
"kitty/kittens/unicode_input"
@@ -41,6 +42,8 @@ func KittyToolEntryPoints(root *cli.Command) {
ssh.EntryPoint(root)
// unicode_input
unicode_input.EntryPoint(root)
// show_key
show_key.EntryPoint(root)
// hyperlinked_grep
hyperlinked_grep.EntryPoint(root)
// ask