opt.: terminal selection
This commit is contained in:
@@ -514,7 +514,7 @@ class _ServerPageState extends State<ServerPage>
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Shares.copy(ss.err!),
|
||||
onPressed: () => Shares.copy(ss.err ?? l10n.unknownError),
|
||||
child: Text(l10n.copy),
|
||||
)
|
||||
],
|
||||
|
||||
@@ -96,6 +96,7 @@ class _SSHPageState extends State<SSHPage> with AutomaticKeepAliveClientMixin {
|
||||
_media = MediaQuery.of(context);
|
||||
|
||||
_terminalTheme = _isDark ? TerminalThemes.dark : TerminalThemes.light;
|
||||
_terminalTheme = _terminalTheme.copyWith(selectionCursor: primaryColor);
|
||||
|
||||
// Because the virtual keyboard only displayed on mobile devices
|
||||
if (isMobile) {
|
||||
|
||||
Reference in New Issue
Block a user