We still need full keyboard protocol for @ send-text

This commit is contained in:
Kovid Goyal
2023-01-23 16:33:08 +05:30
parent 97467acb1f
commit 11f98592f7
2 changed files with 12 additions and 0 deletions

View File

@@ -27,6 +27,9 @@ func is_stream_response(serialized_response []byte) bool {
func do_chunked_io(io_data *rc_io_data) (serialized_response []byte, err error) {
serialized_response = make([]byte, 0)
lp, err := loop.New(loop.NoAlternateScreen, loop.NoRestoreColors, loop.OnlyDisambiguateKeys)
if io_data.on_key_event != nil {
lp.FullKeyboardProtocol()
}
if err != nil {
return
}