Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add exit_ca_mode to reset #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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