From f86ce03d3b7ecbda44b9c8350fd0f650c913937a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 1 Sep 2022 09:54:40 +0530 Subject: [PATCH] Fix set-colors --- tools/cmd/at/tty_io.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/cmd/at/tty_io.go b/tools/cmd/at/tty_io.go index fdaa3a450..588340d46 100644 --- a/tools/cmd/at/tty_io.go +++ b/tools/cmd/at/tty_io.go @@ -26,8 +26,7 @@ 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() - lp.NoAlternateScreen() + lp, err := loop.New(loop.NoAlternateScreen, loop.NoRestoreColors) if err != nil { return }