opt. for tag

This commit is contained in:
lollipopkit
2023-05-31 17:19:56 +08:00
parent 472a441c8e
commit d24fe5ff5d
3 changed files with 61 additions and 48 deletions

View File

@@ -96,6 +96,8 @@ class _SSHPageState extends State<SSHPage> {
}
Widget _buildBody() {
final keyboardType =
isIOS ? TextInputType.emailAddress : TextInputType.visiblePassword;
return SizedBox(
height: _media.size.height -
_virtualKeyboardHeight -
@@ -104,6 +106,7 @@ class _SSHPageState extends State<SSHPage> {
child: TerminalView(
_terminal,
controller: _terminalController,
keyboardType: keyboardType,
textStyle: _terminalStyle,
theme: _terminalTheme,
deleteDetection: isIOS,