mirror of
https://github.com/wownero/cyberwow.git
synced 2026-10-17 15:31:47 +02:00
do not mess with keyboard
This commit is contained in:
@@ -165,7 +165,7 @@ Widget terminalView(BuildContext context, String headline6, SyncedState state) {
|
||||
final input = TextFormField(
|
||||
controller: state.textController,
|
||||
// textInputAction: TextInputAction.next,
|
||||
autofocus: true,
|
||||
// autofocus: true,
|
||||
autocorrect: false,
|
||||
enableSuggestions: false,
|
||||
keyboardType: TextInputType.visiblePassword,
|
||||
@@ -204,11 +204,9 @@ Widget terminalView(BuildContext context, String headline6, SyncedState state) {
|
||||
if (line.isNotEmpty) {
|
||||
log.finer('terminal input: $line');
|
||||
state.appendInput(line);
|
||||
state.textController.clear();
|
||||
} else {
|
||||
state.textController.clear();
|
||||
SystemChannels.textInput.invokeMethod('TextInput.hide');
|
||||
}
|
||||
|
||||
state.textController.clear();
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user