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>
This commit is contained in:
fufesou
2026-04-29 22:12:26 +08:00
parent b516dfb15b
commit 18479129a2
4 changed files with 84 additions and 45 deletions

View File

@@ -176,7 +176,10 @@ class _TerminalPageState extends State<TerminalPage>
return _defaultTerminalPadding;
}
final topBottom = extraSpace / 2.0;
return EdgeInsets.symmetric(horizontal: 5.0, vertical: topBottom);
return EdgeInsets.symmetric(
horizontal: _defaultTerminalPadding.horizontal / 2,
vertical: topBottom,
);
}
@override