Harden unicode settings
This commit is contained in:
parent
c5ada996ee
commit
c965f74f46
@ -58,10 +58,10 @@ start() {
|
|||||||
[ -n "${DUMPKEYS_CHARSET}" ] && dumpkey_opts="-c ${DUMPKEYS_CHARSET}"
|
[ -n "${DUMPKEYS_CHARSET}" ] && dumpkey_opts="-c ${DUMPKEYS_CHARSET}"
|
||||||
|
|
||||||
dumpkeys ${dumpkey_opts} | loadkeys --unicode
|
dumpkeys ${dumpkey_opts} | loadkeys --unicode
|
||||||
termencoding="\033%%G"
|
termencoding='\033%%G'
|
||||||
termmsg="UTF-8"
|
termmsg="UTF-8"
|
||||||
else
|
else
|
||||||
termencoding="\033(K"
|
termencoding='\033(K'
|
||||||
termmsg="ASCII"
|
termmsg="ASCII"
|
||||||
fi
|
fi
|
||||||
local n=1 ttydev=
|
local n=1 ttydev=
|
||||||
|
Loading…
Reference in New Issue
Block a user