mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Improve performance when pasting large amounts of text into readline by not redrawing on every char
This commit is contained in:
@@ -61,6 +61,7 @@ type Loop struct {
|
||||
OnKeyEvent func(event *KeyEvent) error
|
||||
|
||||
// Called when text is received either from a key event or directly from the terminal
|
||||
// Called with an empty string when bracketed paste ends
|
||||
OnText func(text string, from_key_event bool, in_bracketed_paste bool) error
|
||||
|
||||
// Called when the terminal is resized
|
||||
|
||||
Reference in New Issue
Block a user