opt.: more virtual keys (#596)
This commit is contained in:
@@ -213,7 +213,7 @@ class SSHPageState extends State<SSHPage>
|
||||
);
|
||||
}
|
||||
final rows = _virtKeysList
|
||||
.map((e) => Row(children: e.map((f) => _buildVirtKeyItem(f)).toList()))
|
||||
.map((e) => Row(children: e.map(_buildVirtKeyItem).toList()))
|
||||
.toList();
|
||||
return Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
@@ -280,6 +280,11 @@ class SSHPageState extends State<SSHPage>
|
||||
HapticFeedback.mediumImpact();
|
||||
_doVirtualKeyInput(item.key!);
|
||||
}
|
||||
final inputRaw = item.inputRaw;
|
||||
if (inputRaw != null) {
|
||||
HapticFeedback.mediumImpact();
|
||||
_terminal.textInput(inputRaw);
|
||||
}
|
||||
}
|
||||
|
||||
void _doVirtualKeyInput(TerminalKey key) {
|
||||
|
||||
Reference in New Issue
Block a user