Skip to content

Conversation

@john-peterson
Copy link
Member

add exit_ca_mode to reset

resetting the terminal ought to mean return to main buffer

this is equivalent to

tput te
echo -e "\e[?1047l"

disable mouse

i placed this after reset_2string that disable mouse input for bash that dislike that

for me this is equivalent to

echo -e "\e[?1002l"

crash

this is a typical necessity after crashes in bash both directly in the emulator and inside tmux with mouse support

alias mouse='echo -e "\e[?1002l";tput te'

test

i have no test program for this but my mcedit has a bug that allows me to test it. pressing help and left crashes back to bash without restoring the buffer or mouse flags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant