Skip to content

Commit

Permalink
util (modifyOtherKeys): work around a quirk of Kitty
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed May 20, 2021
1 parent f3668ba commit 823eb83
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/util.sh
Expand Up @@ -3157,7 +3157,11 @@ function ble/term/modifyOtherKeys/leave {
if [[ $value == auto ]]; then
value=1
# 問題を起こす端末で無効化。
ble/term/modifyOtherKeys/.supported || value=
if [[ $TERM == xterm-kitty ]]; then
value=0 # Kitty は 1 では無効にならない。変な振る舞い
else
ble/term/modifyOtherKeys/.supported || value=
fi
fi
ble/term/modifyOtherKeys/.update "$value"
}
Expand Down

0 comments on commit 823eb83

Please sign in to comment.