Ghostty graphical progress bar option#946
Conversation
using ConEmu escape sequences, draw a graphical progress bar as described in https://ghostty.org/docs/install/release-notes/1-2-0#graphical-progress-bars This can be enabled by setting `progress_bar_type = "EscapeSequence"` in the config
| pub enum ProgressBarType { | ||
| Line, | ||
| Rectangle, | ||
| Terminal, |
There was a problem hiding this comment.
does this only work on ghosty terminal? Name it Terminal implies it works for other terminals as well
There was a problem hiding this comment.
based on anstyle_progress::supports_term_progress, which cargo uses to determine whether the terminal running it supports this feature, it is supported for:
- iTerm2 v3.6.6+ if TERM_FEATURES includes 'P'
- WezTerm
- Ghostty v1.2.0+
- Windows Terminal
- ConEmu
- Ptyxis v48.0+
It's not universal, so calling it Terminal oversells it a bit indeed.
|
Some other Windows terminal emulators use this escape sequence, but they display progress in the taskbar app icon. The Linux Kitty terminal rejected adding support. https://redirect.github.com/kovidgoyal/kitty/issues/3679 |
@jack-mil I didn't realize Windows Terminal shows the progress in the taskbar. @aome510 I suggest auto-detecting support using |
Maybe we can keep |
using ConEmu escape sequences, draw a graphical progress bar as described in
https://ghostty.org/docs/install/release-notes/1-2-0#graphical-progress-bars
This can be enabled by setting
progress_bar_type = "Terminal"in the config.The left click handler for seeking has also been updated such that it responds when clicking the topmost row, just below the terminal progress bar.
Preview
Seeking
Screencast.From.2026-03-18.14-23-56.mp4