mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
opt.: use ValueBuilder
This commit is contained in:
@@ -200,11 +200,9 @@ class _SSHPageState extends State<SSHPage> {
|
||||
switch (key) {
|
||||
case TerminalKey.control:
|
||||
_keyboard.ctrl = !_keyboard.ctrl;
|
||||
setState(() {});
|
||||
break;
|
||||
case TerminalKey.alt:
|
||||
_keyboard.alt = !_keyboard.alt;
|
||||
setState(() {});
|
||||
break;
|
||||
default:
|
||||
_terminal.keyInput(key);
|
||||
|
||||
Reference in New Issue
Block a user