bin/emacstty: fix terminal with stty sane
https://emacs.stackexchange.com/questions/73367/preventing-emacsclient-eval-from-messing-up-my-terminal
This commit is contained in:
parent
e023ff95e6
commit
c7e315784f
|
@ -2,3 +2,6 @@
|
|||
# Emacs in the terminal
|
||||
pgrep --full "emacs --daemon" >/dev/null || emacs --daemon
|
||||
emacsclient --create-frame --tty "$@"
|
||||
exit=$?
|
||||
stty sane
|
||||
exit $exit
|
||||
|
|
Loading…
Reference in New Issue