Skip to content

ELYTerminal 0.2.0

Choose a tag to compare

@Raiden-MeixElysia Raiden-MeixElysia released this 29 Oct 18:25
0cef65d

Added:

  • Images in the terminal through kitty's graphics protocol, as Ghostty 1.4 shows them: sent directly, from a file or from shared memory, as PNG, RGB or RGBA; placed at the cursor, through Unicode placeholders or beside another image, under or over the text; animated frame by frame.
  • Programs read and write the clipboard through kitty's clipboard protocol, OSC 5522: text, images and file lists at once. A read of the contents asks you first and shows what it would read; Allow for this session lets that program read again unasked, and a read that only lists the types answers at once. Under mode 5522 a paste hands the program a one-time password instead of text; the newest paste's password alone reads the clipboard once unasked, within 10 seconds.
  • Themes of your own: New theme, after the last theme, copies Ely Dark and lets you set its name and every color; and a background image under the terminal (#31).
  • Files: a right click on a name opens it, starts a session in its folder or copies its path, once Settings › Terminal › Files menu is on (#33, #36).
  • Windows 11, build 22621 or later: Mica and Mica Alt beside Acrylic, in Settings › Appearance › Backdrop (#38).
  • The window opens on the display and at the place it was left, on macOS, Windows and X11 (#32).
  • Windows: in PowerShell, cd /e goes to drive E: and cd /c/Users to C:\Users, as in Git Bash, where no such path lies on the current drive (#39).

Changed:

  • History packs small while it rests, unpacked as you scroll, search or select: 10,000 lines of shell output took 85 to 95% less memory in our measures; how much depends on what it holds.
  • Faster output: plain text passes the parser in runs, and a program's output reaches the screen about 30% faster; kitty graphics payloads decode with SIMD.
  • A hidden session gives its images' GPU memory back until it shows again.
  • Rows with many colors draw about three times as fast (#37).
  • Windows: every session runs on Microsoft's OpenConsole, which comes in the zip, so full-screen programs get the mouse and the wheel (#34).
  • The README splits into English and Chinese guides under docs/ (#35), which now cover everything above.

Fixed:

  • Linux Wayland with fcitx5: Shift and Ctrl+Shift shortcuts work when the input method forwards a modifier key without the compositor's modifier state (#29). Compositors that send it are followed exactly as before.
  • Windows: a fallback font's italic draws its own characters, not other ones (#30).
  • An input method's composition holding a line break no longer stops the app; it shows on one line, each control as its picture (#34).

Thanks to @zcg, @6078HITHEDAY and @totorowldox for the pull requests, to @enddream233 for the logs that found #29, and to everyone who opened an issue.

新增:

  • 终端通过 kitty 图形协议显示图片,与 Ghostty 1.4 一致:直接发送、从文件或共享内存读取,PNG、RGB 或 RGBA;放在光标处、通过 Unicode 占位符或挨着另一张图片,位于文字之下或之上;逐帧播放动画。
  • 程序通过 kitty 剪贴板协议 OSC 5522 读写剪贴板:文字、图片和文件列表可一次写入。读取剪贴板内容前先问你,并显示将读到的内容;“本会话内允许”让该程序之后不再询问,只列出类型的读取则直接回答。在模式 5522 下,粘贴交给程序的是一次性密码,而不是文字,仅最新一次粘贴的密码可在 10 秒内免询问读取剪贴板一次。
  • 自定义主题:最后一个主题之后的“新建主题”复制 Ely Dark,名称和每种颜色都可以改;还可以在终端下方放一张背景图片(#31)。
  • 文件面板:打开设置 › 终端 › 文件菜单后,右键点按名称可打开它、在其文件夹开新会话或复制其路径(#33、#36)。
  • Windows 11 build 22621 起:在亚克力之外新增云母和云母 Alt,见设置 › 外观 › 背景材质(#38)。
  • 窗口在上次关闭时所在的显示器和位置打开,适用于 macOS、Windows 和 X11(#32)。
  • Windows:在 PowerShell 中,当前盘没有这一路径时,cd /e 进入 E 盘、cd /c/Users 进入 C:\Users,与 Git Bash 一致(#39)。

变更:

  • 回滚历史在静止时压缩,滚动、查找或选择时再解开:我们测量的 10,000 行 shell 输出少用 85% 到 95% 的内存,实际多少取决于内容。
  • 输出更快:纯文本成段通过解析器,程序输出到屏幕快了约 30%;kitty 图形数据用 SIMD 解码。
  • 隐藏的会话交还其图片占用的显存,直到再次显示。
  • 颜色很多的行绘制快了约三倍(#37)。
  • Windows:每个会话都跑在微软的 OpenConsole 上,它随 zip 附带,所以全屏程序能拿到鼠标和滚轮(#34)。
  • README 拆分为 docs/ 下的中英文指南(#35),并已涵盖以上所有内容。

修复:

  • Linux Wayland 搭配 fcitx5:输入法转发修饰键却不带合成器的修饰状态时,Shift 和 Ctrl+Shift 快捷键照常工作(#29)。发送修饰状态的合成器照旧完全按其状态处理。
  • Windows:回退字体的斜体画出它自己的字符,不再是别的字(#30)。
  • 输入法组合文本包含换行时不再导致应用退出;组合文本按单行显示,控制字符显示为对应符号(#34)。

感谢 @zcg、@6078HITHEDAY 和 @totorowldox 提交的 PR,感谢 @enddream233 提供的日志找出了 #29,也感谢每一位提出 issue 的朋友。

File System
ELYTerminal-0.2.0.dmg macOS 11 or later, Apple silicon
ELYTerminal-0.2.0-windows-x86_64.zip Windows 10 or later, x86_64
elyterminal_0.2.0_amd64.deb Ubuntu 22.04, Ubuntu 24.04 or Debian 12, x86_64
elyterminal-0.2.0-1.x86_64.rpm Fedora 43, x86_64
ELYTerminal-0.2.0-linux-x86_64.AppImage Linux, x86_64, glibc 2.35 or later
ELYTerminal-0.2.0-linux-x86_64.tar.gz Linux, x86_64, glibc 2.35 or later

macOS. Open the disk image and drag ELYTerminal into Applications. The app is signed with Developer ID and notarized.

Windows. Unzip and run elyterminal.exe, the zip's other files kept beside it. It is unsigned; if SmartScreen stops it, press More info, then Run anyway.

Linux. On Ubuntu or Debian, sudo apt install ./elyterminal_0.2.0_amd64.deb; on Fedora, sudo dnf install ./elyterminal-0.2.0-1.x86_64.rpm. Install a newer package the same way to update. The AppImage runs as it is:

chmod +x ELYTerminal-0.2.0-linux-x86_64.AppImage
./ELYTerminal-0.2.0-linux-x86_64.AppImage

The tarball, after libxkbcommon, libxkbcommon-x11, libxcb, git, curl and xdg-utils:

tar -xzf ELYTerminal-0.2.0-linux-x86_64.tar.gz
cd ELYTerminal-0.2.0-linux-x86_64
install -Dm755 elyterminal -t ~/.local/bin
install -Dm644 com.zacharyzhang.elyterminal.desktop -t ~/.local/share/applications
install -Dm644 com.zacharyzhang.elyterminal.svg -t ~/.local/share/icons/hicolor/scalable/apps
install -Dm644 elyterminal.1.gz -t ~/.local/share/man/man1