mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-13 08:04:03 +09:00
shell now accepts envvar KEYBOARD and changes key layout on the fly
This commit is contained in:
@@ -319,6 +319,10 @@ shell.coreutils = {
|
||||
}
|
||||
else {
|
||||
_TVDOS.variables[key] = shell.replaceVarCall(value);
|
||||
|
||||
// if key is KEYBOARD, reload the keyboard layout
|
||||
if ("KEYBOARD" == key)
|
||||
input.changeKeyLayout(_TVDOS.variables.KEYBOARD || "us_qwerty");
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user