From 2ae28df8f817a966a17bd490f9af36f35ef0e473 Mon Sep 17 00:00:00 2001 From: TomZz Date: Fri, 12 Jun 2026 02:38:23 +0800 Subject: [PATCH] Fix: Prevent auto-dismiss of newly opened dialogs when using keyboard navigation in Open Session selector --- README.en.md | 4 ++-- README.md | 4 ++-- src/main.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.en.md b/README.en.md index c741029..5daa451 100644 --- a/README.en.md +++ b/README.en.md @@ -11,8 +11,8 @@ This project focuses on providing a high-performance and visually appealing shel ## 🚀 v0.3 Massive Update! The brand-new v0.3 introduces comprehensive upgrades to both architecture and user experience: -- ✨ **Global Real-Time Font Sizing** (Thanks to [@ancion](https://github.com/ancion) for [PR #6](https://github.com/rust-kotlin/ashell/pull/6)): Customize your global UI fonts and terminal rendering fonts independently. Adjust text size with real-time scaling and automatic persistence. -- ✨ **Concurrent SFTP Transfers**: A dedicated Transfers dialog now supports highly optimized, concurrent file uploads and downloads with precise progress, speed, and ETA calculations. +- ✨ **Global Real-Time Font Settings** (Thanks to [@ancion](https://github.com/ancion) for [PR #6](https://github.com/rust-kotlin/ashell/pull/6)): Customize your global UI fonts and terminal rendering fonts independently. Adjust text size in real-time with automatic persistence. +- ✨ **Concurrent SFTP Transfers**: A dedicated Transfers dialog now supports highly optimized, concurrent file uploads and downloads with precise progress display. - ✨ **Persistent Workspace State**: Your sidebar width adjustments, terminal themes, font settings, and file visibility preferences are completely restored upon your next launch! - ✨ **Intelligent SSH Disconnect/Reconnect**: Greatly enhanced SSH connection resilience. Provides a beautiful and localized overlay for one-click re-connection on unexpected disconnections. - ✨ **Hot-Swappable i18n System**: Deeply optimized internationalization. Switch instantly between English and Simplified Chinese without restarting the application. diff --git a/README.md b/README.md index d4324a5..7a52057 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ ## 🚀 v0.3 版本重磅更新! 全新发布的 v0.3 迎来了架构和体验的全面升级: -- ✨ **全局实时字体设置与无级缩放**(感谢 [@ancion](https://github.com/ancion) 提供的 [PR #6](https://github.com/rust-kotlin/ashell/pull/6)):支持自定义全局 UI 字体和终端渲染字体,支持实时字号调节缩放并自动记忆。 -- ✨ **SFTP 多任务并发传输队列**:引入全新的独立传输对话框,支持多文件并发上传下载,提供精准的进度条、速率和剩余时间显示。 +- ✨ **全局实时字体设置与字号调节**(感谢 [@ancion](https://github.com/ancion) 提供的 [PR #6](https://github.com/rust-kotlin/ashell/pull/6)):支持自定义全局 UI 字体和终端渲染字体,支持实时字号调节并自动记忆。 +- ✨ **SFTP 多任务并发传输队列**:引入全新的独立传输对话框,支持多文件并发上传下载,提供精准的进度展示。 - ✨ **持久化工作区记忆**:您对侧边栏的尺寸拖拽、终端主题、字体、隐藏文件开关等一切设置都会在下次启动时原样恢复! - ✨ **智能断线重连与状态感知**:全面增强的 SSH 网络异常处理机制,断线后直接提供美观的覆盖层用于一键重连或关闭。 - ✨ **多语言热切换增强**:深度优化的 i18n 系统,包含中文与英文在内的所有界面文案现在均支持热切换。 diff --git a/src/main.rs b/src/main.rs index 142ae9e..1402af0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -948,7 +948,7 @@ impl Ashell { view.update(cx, |this, cx| { this.activate_selector_selection(window, cx); }); - true + false } }) .content({