Repository navigation
Added:
- Input modes reset when the session's own shell marks a command's end: mouse tracking and formats, focus reporting (not on Windows), kitty keyboard flags, and a hidden cursor clear without touching the screen, scrollback, alternate screen, cursor keys mode, scroll region, or bracketed paste, fixing stale modes after ssh drops (#131). Works with zsh, bash, fish, and PowerShell integration and fish and nu marks; two commands sent at once can keep the first's modes until the second ends, and macOS bash 3.2 and cmd do not reset.
- Reset input modes runs the same reset by hand: Cmd-R on macOS, Ctrl-Shift-R elsewhere, editable in Settings › Terminal › Shortcuts (#131). Off macOS, Ctrl-Shift-R no longer reaches readline as Ctrl-R.
- A keyboard button in the sessions column's header opens the Commands palette: every command with all its keys, searchable, run in the focused pane where its keys would run it (#132).
- Settings › Terminal › Shortcuts has a pin button on each row; pinned commands stand as buttons at the sessions column's foot and run in the focused pane (#132).
- Linux: the DEB registers ELYTerminal as an
x-terminal-emulatoralternative at priority 20 (GNOME Terminal is 40) and removes it on uninstall;--working-directory=FOLDERopens a session in that folder,-T TITLEnames the first session, and the install guide covers GNOME and Nautilus (#133). RPM, tarball, and AppImage register none; downgrading to a DEB without these scripts removes the alternative and loses a manual choice. - The scrollbar's thumb rests at 2 px near the right edge and widens while hovered or dragged (#130).
- Built on Rust 1.98 and gpui-pre 0.3.14 with Ely's main branch.
Fixed:
- Windows: ELYTerminal starts when Shell names Microsoft Store PowerShell 7 (its App Execution Alias in
WindowsApps), fixing os error 1920, lists it in the menu beside +, and uses it as the default shell when no other pwsh is on PATH (#134). Tested on Windows with a Store pwsh alias.
Thanks to @CreeperLKF, @nvida-fuck-you, @vlate and @PixelGeek325 for the reports.
新增:
- 会话自身的 shell 标记命令结束时,自动重置程序留下的输入模式:清除鼠标追踪及其格式、焦点上报(Windows 除外)、kitty 键盘标志和隐藏光标,不动屏幕内容、回滚历史、备用屏幕、光标键模式、滚动区域和括号粘贴,ssh 断线后点击和拖动不再打出转义乱码(#131)。支持 zsh、bash、fish、PowerShell 的 shell 集成,以及 fish 和 nu 自带的标记;一次发出两条命令时,第一条的模式可能留到第二条结束才清,macOS 的 bash 3.2 和 cmd 不重置。
- 新增「重置输入模式」命令,可手动执行同一重置:macOS 上是 Cmd-R,其余平台是 Ctrl-Shift-R,可在设置 › 终端 › 快捷键里修改(#131)。非 macOS 上 Ctrl-Shift-R 不再按 Ctrl-R 传给 readline。
- 会话栏顶部新增键盘按钮,打开「命令」面板,列出全部命令及其所有快捷键,支持搜索并在当前聚焦窗格执行(#132)。
- 设置 › 终端 › 快捷键的每一行新增固定按钮,固定后的命令会以按钮形式显示在会话栏底部,点击即可在当前聚焦窗格执行(#132)。
- Linux:DEB 包会以优先级 20 将 ELYTerminal 注册为
x-terminal-emulator候选项(GNOME Terminal 为 40),卸载时移除;支持--working-directory=FOLDER在指定目录启动、-T TITLE指定首个会话标题,安装文档补充了 GNOME 和 Nautilus 的配置方法(#133)。RPM、tarball 和 AppImage 不注册候选项;将 DEB 降级到不含这些脚本的版本会移除候选项,手动选过的默认项会丢失。 - 滚动条滑块静止时细到 2 px 并靠右侧显示,指针移到滚动条上或拖动时变宽(#130)。
- 基于 Rust 1.98、gpui-pre 0.3.14 和 Ely 的 main 分支构建。
修复:
- Windows:Shell 设为 Microsoft Store 版 PowerShell 7(
WindowsApps下的 App Execution Alias)时不再报 os error 1920,现可正常启动,也会列在 + 旁边的菜单中,并在 PATH 上没有其他 pwsh 时作为默认 shell(#134)。已在 Windows 上用 Store 版 pwsh 别名测过。