7e714a5ca164bc6e818acab0638e450ef38865fc
@kalgynirae showed me weirdly laggy behavior when moving the mouse in front of his x11 window. My suspicion was that this is somehow related to updating the mouse cursor glyph, and looking at this code there were two things that might influence this: * We weren't saving the newly applied cursor value, so we'd create a new cursor every time the mouse moved (doh!) * We'd create a new cursor id each time it changed, and then destroy it (which isn't that bad, but if it contributes to lag, maybe it is?) This commit addresses both of these by making a little cache map from cursor type to cursor id. I can't observe a difference on my system, so I wonder if this might also be partially related to graphics drivers and hardware/software cursors?
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%
