mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 15:54:35 +01:00
#25 snippet in SSH
This commit is contained in:
@@ -275,8 +275,10 @@ class _SSHPageState extends State<SSHPage> {
|
||||
copy(terminalSelected);
|
||||
break;
|
||||
case VirtualKeyFunc.snippet:
|
||||
// TODO: Handle this case.
|
||||
// _showSnippet();
|
||||
showSnippetDialog(context, _s, (s) {
|
||||
_terminal.textInput(s.script);
|
||||
_terminal.keyInput(TerminalKey.enter);
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user