Live data from Hacker News

Kitty 0.17 – GPU-accelerated terminal emulator

sw.kovidgoyal.net

51–60 of 74 posts

Re: Kitty 0.17 – GPU-accelerated terminal emulator

#51
post #4

I really like kitty, but I always wonder how people can live without a scrollbar or smooth scrolling in general. Unfortunately that's a dealbreaker for me.

According to the website, isn’t smooth scrolling exactly what kitty offers?

This is what I mean: https://github.com/kovidgoyal/kitty/issues/1123

Re: Kitty 0.17 – GPU-accelerated terminal emulator

#52
post #46

Earlier quoted context omitted.

FYI you can configure mouse wheel (or in my case just trackpad) scrolling in tmux [1], I've had this configured for years and it's worked really well for me. [1] https://web.archive.org/web/20180821055830/http://www.joehan...

Unfortunately, that breaks scrolling in VIM, which I also use. I do use scrolling with the track pad in VIM sometimes and I care more about that than scrolling in my terminal. Maybe I should try re-enabling it again. It's been a while. Maybe tmux or VIM fixed this.

I think this is fixed. I'm using tmux and vim with mouse scroll enabled for both and haven't experienced any issues.

Re: Kitty 0.17 – GPU-accelerated terminal emulator

#53

Kitty is good but the only issue I have is the use of custom terminfo xterm-kitty. This means things break when ssh’ing to older Linux until you copy the terminfo manually. On BSDs it doesn’t work as there is no terminfo support.

Doing `export TERM=xterm` has worked consistently for me

Yep it works for the most part - I remember having weird issues once in a while - not sure if it was build from git kitty that I was using or some TERM compatibility thing.

Re: Kitty 0.17 – GPU-accelerated terminal emulator

#54

Earlier quoted context omitted.

Not just terminals. So much software is unbearably slow today. Definitely terminals. The only terminal I can really stand is xterm with bitmap fonts. https://danluu.com/term-latency/ > A graphical terminal emulator should use underlying graphical environment features/libraries for things like hardware-assisted rendering. I've mostly done OpenGL recently, and I think xterm (which is fast) is an exception in that it us…

Wow, those graphs are mind-blowing! But it sounds like what should really be written is a fast, hardware-backed, low-latency but limited-feature graphics library. Then have your terminal use that. I still say that direct awareness of the hardware is _way_ too much coupling.

OpenGL is actually pretty high-level. I don't know how much detail of the hardware it lets you get - probably mostly through hardware-specific extensions. The most basic usage is really hardware oblivious. There are many even more high-level toolkits on top of that, such as Qt. But if you need some flexibility and performance, using OpenGL is probably your best bet.

Re: Kitty 0.17 – GPU-accelerated terminal emulator

#57

I've recently made a switch to Kitty from iterm2. I couldn't suffer general slowness and visible lag when using vim or nvim anymore. Various solutions and workarounds provided only minimal relief. With kitty the performance improvement was dramatic. Configuration is more involved (config file), but I've managed to set everything up as I'm used to in short time. I'm happy so far, but ymmv

I did this too and used kitty for maybe more than a year. I recently switched to gvim and using :terminal though; the font rendering is better and actually I think it's even faster. Give it a try.

P.S. weirdly on Linux it's entirely opposite; vim in an xterm is much faster than gvim.

Re: Kitty 0.17 – GPU-accelerated terminal emulator

#58

Earlier quoted context omitted.

Wow, those graphs are mind-blowing! But it sounds like what should really be written is a fast, hardware-backed, low-latency but limited-feature graphics library. Then have your terminal use that. I still say that direct awareness of the hardware is _way_ too much coupling.

OpenGL is actually pretty high-level. I don't know how much detail of the hardware it lets you get - probably mostly through hardware-specific extensions. The most basic usage is really hardware oblivious. There are many even more high-level toolkits on top of that, such as Qt. But if you need some flexibility and performance, using OpenGL is probably your best bet.

Yeah, plus hardware accelerated font rendering isn't trivial.

Re: Kitty 0.17 – GPU-accelerated terminal emulator

#59
post #16

Hmm. I tried it and I'm trying to find reasons why this is better than Apple's default Terminal.app? It's obviously better than iterm2, but Apple's built-in terminal is actually rather fast.

I've been using Terminal.app for years (I used iTerm2 before Terminal.app had some major improvements). I switched to Kitty so I could bind a shortcut key to opening a new terminal window--a habit I picked up from tiling window managers. I can't remember if I had other criteria, but Kitty has been surprisingly a quiet workhorse since I switched (I occasionally had TERM issues when ssh-ing).

Re: Kitty 0.17 – GPU-accelerated terminal emulator

#60
post #24
post #16

Hmm. I tried it and I'm trying to find reasons why this is better than Apple's default Terminal.app? It's obviously better than iterm2, but Apple's built-in terminal is actually rather fast.

Depends on your usage but terminal.app is quite a bit slower then iterm2's metal renderer or Alacritty (probably kitty as well but I haven't used it).

I don't think I've seen issues in practice, but I thought last time I saw benchmarks Terminal.app blew away the others. I believe it used some non-standard method to render to screen.
Post reply on HN