From bca767fcdb8a0b76938b7aeb4ab2782062c53237 Mon Sep 17 00:00:00 2001 From: fufesou Date: Mon, 16 Nov 2026 16:38:35 +0800 Subject: [PATCH] fix(terminal): background opacity, 1.0 (#17075) Signed-off-by: fufesou --- flutter/lib/desktop/pages/terminal_page.dart | 2 +- flutter/lib/mobile/pages/terminal_page.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flutter/lib/desktop/pages/terminal_page.dart b/flutter/lib/desktop/pages/terminal_page.dart index 2cb09ab9b..05497c5d4 100644 --- a/flutter/lib/desktop/pages/terminal_page.dart +++ b/flutter/lib/desktop/pages/terminal_page.dart @@ -212,7 +212,7 @@ class _TerminalPageState extends State focusNode: _terminalFocusNode, // Note: autofocus is not used here because focus is managed manually // via _onTabStateChanged() to handle tab switching properly. - backgroundOpacity: 0.7, + backgroundOpacity: 1.0, padding: _calculatePadding(heightPx), onSecondaryTapDown: (details, offset) async { final selection = _terminalModel.terminalController.selection; diff --git a/flutter/lib/mobile/pages/terminal_page.dart b/flutter/lib/mobile/pages/terminal_page.dart index 19d0a8414..f338eec8d 100644 --- a/flutter/lib/mobile/pages/terminal_page.dart +++ b/flutter/lib/mobile/pages/terminal_page.dart @@ -20,7 +20,7 @@ import 'package:xterm/xterm.dart'; import '../../desktop/pages/terminal_connection_manager.dart'; import '../../consts.dart'; -const _terminalBackgroundOpacity = 0.7; +const _terminalBackgroundOpacity = 1.0; Widget _buildTerminalViewForPlatform({ required bool reportMouseInput,