xterm.dart
xterm.dart copied to clipboard
Stuttering using interactive commands
Input will slow down when there are too many characters in the terminal System: windows10 TerminalSize: 1920*1080 example: vimγtop...
Could you provide your flutter doctor
output?
δ½ θ½ζδΎδ½ η
flutter doctor
θΎεΊεοΌ
Doctor summary (to see all details, run flutter doctor -v):
[β] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19043.1288], locale zh-CN)
[β] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[β] Chrome - develop for the web
[β] Visual Studio - develop for Windows (Visual Studio ηζε·₯ε
· 2019 16.11.3)
[β] Android Studio (version 2020.3)
[β] Connected device (3 available)
Any updates? I have the same issue.
Two ideas from my side here:
- Do you use TerminalIsolate or Terminal in your application?
- If TerminalIsolate (which should already be more responsive than Terminal) then could you try the latest beta update of Flutter (they improved Isolate performance)
Hi @devmil
1. Do you use TerminalIsolate or Terminal in your application?_
I am using Terminal
2. If TerminalIsolate (which should already be more responsive than Terminal) then could you try the latest beta update of Flutter (they improved Isolate performance)
When I try TerminalIsolate (using isolate.dart in the example of xterm), I encountered the exception "Null check operator used on a null value" in terminal_isolate.dart file
@override int get scrollOffsetFromBottom => _lastState!.scrollOffsetFromBottom;
xterm version: ^2.5.0-pre
And here is my flutter info:
Doctor summary (to see all details, run flutter doctor -v):
[β] Flutter (Channel stable, 2.5.1, on Microsoft Windows [Version 10.0.22000.348], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
X cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run flutter doctor --android-licenses
to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[β] Chrome - develop for the web
[β] Visual Studio - develop for Windows (Visual Studio Professional 2019 16.11.3)
[β] Android Studio (version 4.1)
[β] VS Code (version 1.63.0)
[β] Connected device (3 available)
! Doctor found issues in 1 category.
Sorry for the delay. I assume you did not start the isolate, did you? Like here: https://github.com/TerminalStudio/studio/blob/ec3920fe72db2e0a0ce243320ad8b644c92d15e1/studio/lib/main.dart#L139
I think we should get a better error message in that case though!