Commit d003a311 authored by Oskar Skog's avatar Oskar Skog

TERM=ansi disables mouse

parent d98217ee
2019-07-20 Oskar Skog <https://oskog97.com/#contact>
0.5.13
* desktop/macosx2: Handle crashes. Use TERM=ansi to get numpad to work.
* desktop/macosx2: Handle crashes. TERM=ansi makes numpad work, but
breaks mouse support.
* anonymine.py: Clear screen on error. Moved two functions down.
2019-07-14 Oskar Skog <https://oskog97.com/#contact>
......
......@@ -2,7 +2,14 @@
clear
printf "\033]2; ------- Anonymine ------- \007"
if TERM=ansi anonymine; then
# TODO: Do something
if true; then
term_setting=xterm # Mouse works, numpad does not with default settings.
else
term_setting=ansi # Numpad works, mouse doesn't
fi
if TERM=$term_setting anonymine; then
clear
echo ")-:"
echo "Sorry, this window can't close itself"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment