6 ms·
Terminals do have a concept of a cursor (there are dedicated control sequences for cursor management). There's no fundamental reason a terminal emulator couldn'
by gpanders 3y ago
Terminals do have a concept of a cursor (there are dedicated control sequences for cursor management). There's no fundamental reason a terminal emulator couldn't implement an animated cursor like this, my guess as to why no one has done it is simply that it's not a very commonly requested feature.
- Quot 3y agoYou're right! That's pretty neat. I always thought terminal emulators were just simple text displays. It looks like Wezterm even has preferences for how cursors are displayed. https://wezfurlong.org/wezterm/config/lua/config/cursor_blink_rate.html https://wezfurlong.org/wezterm/config/lua/config/cursor_blin...
- zamalek 3y agoAnother problem is that the cursor moves while the screen is buffer is being rendered. The location is only really known once the cursor settles in the same place for some time, which is unacceptable in terms of latency. The synchronized output extension could be used to do this, though. https://github.com/contour-terminal/contour/blob/master/docs%2Fvt-extensions%2Fsynchronized-output.md https://github.com/contour-terminal/contour/blob/master/docs...