This commit is contained in:
Kovid Goyal 2022-08-26 21:05:11 +05:30
parent b2e610f9b1
commit 9c58cb3f41
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -56,7 +56,7 @@ type Loop struct {
// Called when text is received either from a key event or directly from the terminal
OnText func(text string, from_key_event bool, in_bracketed_paste bool) error
// Called when the terminal is resize
// Called when the terminal is resized
OnResize func(old_size ScreenSize, new_size ScreenSize) error
// Called when writing is done
@ -65,7 +65,7 @@ type Loop struct {
// Called when a response to an rc command is received
OnRCResponse func(data []byte) error
// Called when any input form tty is received
// Called when any input from tty is received
OnReceivedData func(data []byte) error
}