RustDesk
6c20fc936d
Terminal utf8 and reconnect ( #14895 )
...
* fix: handle incomplete UTF-8 sequences in terminal output, rework on https://github.com/rustdesk/rustdesk/pull/14736
* Fix terminal auto-reconnect freeze: reconnect resumes terminal output, while multi-tab reconnect avoids restoring duplicate tabs for terminals that are already open.
* fix(terminal): subtract with overflow
```
thread '<unnamed>' panicked at src\server\terminal_service.rs:476:17:
attempt to subtract with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at src\server\terminal_service.rs:1576:50:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
[2026-04-25T07:17:34Z ERROR librustdesk::server::service] Failed to join thread for service ts_9badd3fe-2411-4996-9f40-93c979009edd, Any { .. }
```
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix ios enter: https://github.com/rustdesk/rustdesk/issues/14907
* fix(terminal): reconnect, error handling
1. Terminal shows "^[[1;1R^[[2;2R^[[>0;0;0c"
2. NaN
```
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Converting object to an encodable object failed: NaN
...
```
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): dialog, close window
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): close terminal window on disconnect dialog
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): merge reconnect backlog into replay output
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): avoid reconnect stalls and delayed layout writes
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): remove invalid test
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): schedule frame before flushing buffered output
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): windows&macos, charset utf-8
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): reconnect suppress next output
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix: cap terminal reconnect replay output
- split reconnect replay backlog into capped chunks
- mark terminal data replay chunks for client-side suppression
- avoid using open-message text to suppress xterm replies
- reuse default terminal padding value
- remove misleading Enter-key normalization PR link
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): env en_US.UTF-8
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): reconnect, refactor
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): flag, retry output
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): update hbb_common
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): comments
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): comments utf-8 chunk accumulator
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix(terminal): update hbb_common
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
Co-authored-by: fufesou <linlong1266@gmail.com >
2026-05-07 13:27:13 +08:00
fufesou
483fe80308
fix(terminal): fix new tab auto-focus and NaN error on data before layout ( #14357 )
...
- Fix new tab not auto-focusing: add FocusNode to TerminalView and
request focus when tab is selected via tab state listener
- Fix NaN error when data arrives before terminal view layout: buffer
output data until terminal view has valid dimensions, flush on first
valid resize callback
Signed-off-by: fufesou <linlong1266@gmail.com >
2026-02-20 14:44:25 +08:00
alonginwind
ef62f1db29
Fix terminal clear command to remove residual output ( #13531 )
...
* Fix terminal clear command to remove residual output
* Update flutter/lib/models/terminal_model.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update flutter/lib/desktop/pages/terminal_page.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix: Prevent "Build scheduled during frame" in terminal resize
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-18 23:31:54 +08:00
21pages
296c6df462
ask for note at end of connection ( #13499 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com >
2025-11-13 23:35:40 +08:00
RustDesk
5faf0ad3cf
terminal works basically. ( #12189 )
...
* terminal works basically.
todo:
- persistent
- sessions restore
- web
- mobile
* missed terminal persistent option change
* android sdk 34 -> 35
* +#![cfg_attr(lt_1_77, feature(c_str_literals))]
* fixing ci
* fix ci
* fix ci for android
* try "Fix Android SDK Platform 35"
* fix android 34
* revert flutter_plugin_android_lifecycle to 2.0.17 which used in rustdesk 1.4.0
* refactor, but break something of desktop terminal (new tab showing loading)
* fix connecting...
2025-07-01 13:12:55 +08:00