Skip to content

ELYTerminal 0.2.4

Choose a tag to compare

@Raiden-MeixElysia Raiden-MeixElysia released this 10 Nov 14:09
7c5bb0f

Added:

  • Every shortcut can be changed: Settings › Terminal › Shortcuts lists each command, Change takes the next key you press, and the arrow beside a changed one brings its own keys back; shortcuts in settings.json holds the same. The menu bar follows.
  • Clear, Cmd-K on macOS and Ctrl-Shift-K elsewhere, also Edit › Clear: the history goes, and the screen above the prompt; on Windows, where ConPTY keeps the screen, the history alone (#82).
  • Command line control, off by default in Settings › Terminal: elyterminal ctl sessions, ctl read SESSION [LINES], ctl send SESSION TEXT and ctl key SESSION KEY... list the sessions, read one and type into it, so scripts and agents can drive a running terminal. It speaks over a loopback port named, with a token, in a file only your account reads (#86).
  • A Windows installer, ELYTerminal-0.2.4-windows-x86_64-setup.exe: for your account alone, with a Start menu entry and an uninstaller that keeps your settings (#87).
  • The background picture takes a gradient over it, its own opacity, and a mask that fades it across its box, with an angle, stops, a size and a position as CSS's mask-image, in Settings › Appearance › Background (#81, #88).
  • Windows: Ctrl-Insert copies and Shift-Insert pastes (#90).
  • Each session's environment names the terminal: TERM_PROGRAM=elyterminal and TERM_PROGRAM_VERSION (#89).
  • The menu beside + ends with Choose folder for a new session… (#85).

Fixed:

  • KDE Plasma on Wayland: a window should no longer stutter or twitch as it moves while Ely shows; it was reproduced and measured under KWin, and a real drag awaits the reporter's word. KWin snapped the moving window to her popup's edges, and at fractional scales rounded her place apart from the window's (#76).
  • Windows and Linux: the right column's toggle no longer hides behind the gear and the window's buttons at a narrow width; the column's usual width and the least a drag gives it are 240 px there, and where a window too narrow for both columns still squeezes it, the gear clips before the toggle (#83).
  • A row dragged from Files onto the terminal gives the terminal the focus, so the next key types there (#80).

Still open: #66, a black block after a typed space on Windows under a light theme, did not reproduce on our Windows 11 PC under three shells and four light themes. This release traces what draws at the caret, so a log can name it; see the issue for how to take one.

Thanks to @Dararaaaa and @Chino456 for the pull requests, and to @suconghou, @nclear-stem, @surfincanoy, @BenzLeung, @emako, @BradleyBao, @alwaylack, @liuye1296 and @wsrer for the issues.

新增:

  • 所有快捷键都可以更改:设置 › 终端 › 快捷键 列出每个命令,点「更改」后按下的第一个键即为新快捷键,改过的命令旁边的箭头可恢复原有按键;settings.json 里的 shortcuts 保存同样的内容。菜单栏随之更新。
  • 清屏:macOS 上 Cmd-K,其他系统 Ctrl-Shift-K,也在 编辑 › 清屏:清空历史和提示符以上的屏幕;在 Windows 上屏幕由 ConPTY 保管,只清空历史(#82)。
  • 命令行控制,默认关闭,在 设置 › 终端 里打开:elyterminal ctl sessions、ctl read 会话 [行数]、ctl send 会话 文本、ctl key 会话 按键... 可以列出会话、读取会话内容并向其输入,脚本和 AI 代理可以借此操作开着的终端。它通过本机回环端口通信,端口和令牌写在只有你的账户能读的文件里(#86)。
  • Windows 安装包 ELYTerminal-0.2.4-windows-x86_64-setup.exe:只为当前账户安装,带开始菜单项,卸载时保留设置(#87)。
  • 背景图片可以叠一层渐变、设置图片自身的不透明度,并加一个让它在范围内渐隐的蒙版(角度、色标、尺寸和位置,同 CSS 的 mask-image),在 设置 › 外观 › 背景(#81、#88)。
  • Windows:Ctrl-Insert 拷贝,Shift-Insert 粘贴(#90)。
  • 每个会话的环境变量会带上终端的名字:TERM_PROGRAM=elyterminal 和 TERM_PROGRAM_VERSION(#89)。
    • 旁边的菜单末尾新增「选择文件夹新建会话…」(#85)。

修复:

  • KDE Plasma Wayland:Ely 显示时移动窗口应当不再卡顿和抖动;已在 KWin 下复现并测量,真实拖动还等报告者确认。原因是 KWin 把移动中的窗口吸附到她的弹出窗口边缘,并且在分数缩放下对她和窗口的位置分别取整(#76)。
  • Windows 和 Linux:右侧栏较窄时,折叠按钮不再被齿轮和窗口按钮挤掉;在这两个系统上右侧栏的常规宽度和拖动下限是 240 px;窗口窄到两栏都放不下时它仍会被压窄,这时先被裁掉的是齿轮而不是折叠按钮(#83)。
  • 从文件栏拖一行到终端后,焦点交给终端,接下来的按键直接输入到终端(#80)。

仍未解决:#66(Windows 浅色主题下输入空格后出现黑色块)在我们的 Windows 11 电脑上,用三种 shell 和四个浅色主题都没有复现。这个版本会在日志里记录光标处画了什么,取日志的方法见该 issue。

感谢 @Dararaaaa 和 @Chino456 的 PR,感谢 @suconghou、@nclear-stem、@surfincanoy、@BenzLeung、@emako、@BradleyBao、@alwaylack、@liuye1296 和 @wsrer 的反馈。