mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 23:14:55 +02:00
Fix #7752
This commit is contained in:
@@ -27,7 +27,11 @@ 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)
|
||||
// we cant do inbandresize notification as in the --no-response case the
|
||||
// command can cause a resize and the loop can quit before the notification
|
||||
// arrives, leading to the notification being sent to whatever is executed
|
||||
// after us.
|
||||
lp, err := loop.New(loop.NoAlternateScreen, loop.NoRestoreColors, loop.NoInBandResizeNotifications)
|
||||
if io_data.on_key_event != nil {
|
||||
lp.FullKeyboardProtocol()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user