unicode-input: Fix single column rendering of table

This commit is contained in:
Kovid Goyal
2023-07-27 08:18:53 +05:30
parent 22dd8ecb62
commit 6fda8d7e23
2 changed files with 8 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ import (
"unicode"
"kitty/tools/cli"
"kitty/tools/tty"
"kitty/tools/tui"
"kitty/tools/tui/loop"
"kitty/tools/tui/readline"
@@ -250,6 +251,8 @@ func (self *handler) update_codepoints() {
}
}
var debugprintln = tty.DebugPrintln
func (self *handler) update_current_char() {
self.update_codepoints()
self.current_char = InvalidChar