Running the input.cpp sample locally (I'm using CMake FetchContent to pull in GIT_TAG main), when running the application, I see "$q q" displayed before the top-left border corner, which messes up the display.
Commenting out the following lines in my local copy of app.cpp fixes it:
// Request the terminal to report the current cursor shape. We will restore it
// on exit.
//TerminalSend(DECRQSS_DECSCUSR);
//on_exit_functions.emplace([this] {
// TerminalSend("\033[?25h"); // Enable cursor.
// TerminalSend("\033[" + std::to_string(cursor_reset_shape_) + " q");
//});
Presumably this will just leave the cursor as whatever as the terminal expects it to be.
I am running this on MacOS Tahoe using iTerm2 under GNU Screen. If I run a plain zsh session, the issue doesn't happen. However if I run in MacOS's native terminal app (with no GNU Screen) the DECRQSS "$q q" appears also.
Unless I'm missing some way of disabling this, it might be worth adding an option to disable cursor querying/changing?
Running the input.cpp sample locally (I'm using CMake FetchContent to pull in GIT_TAG main), when running the application, I see "$q q" displayed before the top-left border corner, which messes up the display.
Commenting out the following lines in my local copy of app.cpp fixes it:
Presumably this will just leave the cursor as whatever as the terminal expects it to be.
I am running this on MacOS Tahoe using iTerm2 under GNU Screen. If I run a plain zsh session, the issue doesn't happen. However if I run in MacOS's native terminal app (with no GNU Screen) the DECRQSS "$q q" appears also.
Unless I'm missing some way of disabling this, it might be worth adding an option to disable cursor querying/changing?