Wire up key handling

This commit is contained in:
Kovid Goyal
2022-08-24 11:01:04 +05:30
parent d6ed20323b
commit 42a5129553
3 changed files with 39 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ type EscapeCodeParser struct {
HandleAPC func([]byte) error
}
func (self *EscapeCodeParser) InBracketedPaste() bool { return self.state == bracketed_paste }
func (self *EscapeCodeParser) Parse(data []byte) error {
prev := UTF8_ACCEPT
codep := UTF8_ACCEPT