289f24309570081324dfdbc569129bf398d0de9c
The captured variable used to track the last cursor time wasn't working as intended; rather than reflecting the time of the last blink update it was always reading as the time at which the window was created which meant that we would choose to invalidate the window on every candidate frame (every 35ms) rather than every cursor blink interval, burning some CPU (~4-5% continuous on my system). This was hard to spot because it looked like it was doing the right thing. It didn't show up as a hotspot in the profiler either :-p This commit moves that state into the TermWindow itself; I see CPU utilization drop to ~0.7% which is much better. refs: https://github.com/wez/wezterm/issues/200
Wez's Terminal
A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
User facing home page at: https://wezfurlong.org/wezterm/
Screenshot of wezterm on macOS, running vim
Installation
https://wezfurlong.org/wezterm/installation.html
Getting help
This is a spare time project, so please bear with me. There are two channels for support:
- You can use the GitHub issue tracker to see if someone else has a similar issue, or to file a new one: https://github.com/wez/wezterm/issues
- There is a Gitter room which is bridged to the Matrix/Riot.im for (potentially!) real time discussions
The Gitter/Matrix room is probably better suited to questions than it is to bug reports, but don't be afraid to use whichever you are most comfortable using and we'll work it out.
Description
The agentic terminal: a WezTerm fork with LLeMbas built in
316 MiB
0 Stars
2 Watchers
0 Forks
Languages
Rust
97.7%
Python
1%
Shell
0.9%
Nix
0.2%
