aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-24 19:27:07 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-24 19:27:07 +0200
commitf231828e8d97f955247c72f5b5259bfe353c108f (patch)
tree37589fe1935dde18ddc9d4f5ddcd734fb339fa04
parent1318c4983f830693cc614921b68f35ff46646f4a (diff)
downloadsdn-f231828e8d97f955247c72f5b5259bfe353c108f.tar.gz
sdn-f231828e8d97f955247c72f5b5259bfe353c108f.tar.xz
sdn-f231828e8d97f955247c72f5b5259bfe353c108f.zip
sdn-install: bash: fix UTF-8 collisions
-rwxr-xr-xsdn-install7
1 files changed, 4 insertions, 3 deletions
diff --git a/sdn-install b/sdn-install
index 5ddfc39..840c1e0 100755
--- a/sdn-install
+++ b/sdn-install
@@ -60,9 +60,10 @@ sdn-restore () {
unset SDN_L SDN_P
}
-bind -x '"\200": sdn-navigate'
-bind -x '"\201": sdn-restore'
-bind '"\eo":"\200\C-m\201"'
+# These never occur in UTF-8: \300-\301 \365-\367 \370-\377
+bind -x '"\300": sdn-navigate'
+bind -x '"\301": sdn-restore'
+bind '"\eo": "\300\C-m\301"'
EOF
}