←back to thread

457 points benoitg | 1 comments | | HN request time: 0.212s | source
Show context
b0a04gl ◴[] No.44365467[source]
every time your shell takes 100ms to render git status that you didn’t even need, you're paying invisible tax on flow. terminals should be reactive memory tools, not passive decoration. we optimize for code runtime but not for our own typing latency
replies(7): >>44365953 #>>44366256 #>>44366413 #>>44367231 #>>44367246 #>>44367362 #>>44367371 #
1. gobblegobble2 ◴[] No.44367246[source]
The delay is certainly frustrating. I use a patched version of kitty terminal that moves starship prompt to the bottom of the window, similar to vim and emacs. Since modeline updates are asynchronous, the shell prompt is very snappy even in big git repos. The downside is that you have to patch kitty and I never bothered to test my personal pet project on anything else than Linux.

https://github.com/mbachry/kitty-modeline