websocket.send('TASK:MOVE DOWN');
};
} else if (tui.mode == 'edit') {
- if (event.key.length === 1) {
+ if (event.key != "Shift" && event.key.length == 1) {
websocket.send("TASK:WRITE " + quote(event.key));
+ tui.switch_mode('play');
}
- tui.switch_mode('play');
} else if (tui.mode == 'study') {
if (event.key === 'c') {
tui.switch_mode('chat');