News for hackers. Stuff that matters.
Re:Rio Terminal: A hardware-accelerated GPU terminal emulator by roylez on Tuesday September 30, 2025 @09:43PM (#45433451)
My kitty configuration has grown too much and I could hardly memorise all the customisations. I use its remote control heavily for my workflow. Before kitty, I usually use xterm or urxvt, which are still cool and fast but I cannot go back to the days without those terminal customisations.
Re:Rio Terminal: A hardware-accelerated GPU terminal emulator by zeppelin101 on Tuesday September 30, 2025 @09:45PM (#45433474)
How do you use the remote control of Kitty? I have barely explored it.
Re:Rio Terminal: A hardware-accelerated GPU terminal emulator by bayesianbot on Tuesday September 30, 2025 @10:06PM (#45433588)
Not OP but

- Terminal search and focus (you can list kitty tabs and windows and get the window content from the socket, implementing a BM25 based search is quite easy)

- Giving the current terminal content for AI, so I can do things like run `ls` and then write "Rename the files (in some way)", and push the whole thing to LLM that replaces the command line without me having to write the full context

I even have a Codex session finder that uses codex session files to list and select the session I want, and then uses the kitty socket to find and focus the window which matches the session content

Re:Rio Terminal: A hardware-accelerated GPU terminal emulator by porridgeraisin on Wednesday October 01, 2025 @02:57AM (#45435080)
I have thought of things to do with kitty remote but have always been lazy to actually write the code. Do you have it open source by any chance for me to steal?
Re:Rio Terminal: A hardware-accelerated GPU terminal emulator by zeppelin101 on Thursday October 02, 2025 @05:00PM (#45455504)
Very impressive! I'll look into some of these.
Re:Rio Terminal: A hardware-accelerated GPU terminal emulator by roylez on Wednesday October 01, 2025 @05:55AM (#45436003)
The ones that I use the most are designed to reduce context switching, like:

Mutt, personal wiki (fzf searching and neovim editing) and todo (a long never ending markdown file), they all have dedicated shortcut (cmd+m/cmd+z/cmd+d) to open(switch to) their window. These applications, always reside in the first tab with stack layout. For example, I can press cmd+m to switch to mutt (or open it), and press cmd+m again to switch back to the previously focused window.

Depending on which repl is running, I can usually open up vim to edit the line with the same cmd+e shortcut, which sends C-X C-E in bash/zsh, ESC O in iex, C-O in aichat ... Also vertical split in tmux and kitty tab share the same shortcut, cmd+|.

Kitty does not have a command palette, and I use fzf to search some of my frequently used operations and make this my command palette.

Re:Rio Terminal: A hardware-accelerated GPU terminal emulator by casparvitch on Tuesday September 30, 2025 @09:44PM (#45433461)
Yeah I understand all the flashy bits in kitty, but do you need GPU levels of speed? `foot` is much faster than my typing/brain in all cases.
Re:Rio Terminal: A hardware-accelerated GPU terminal emulator by wredcoll on Tuesday September 30, 2025 @09:48PM (#45433493)
There are genuinely moments where something in the hell-stack of terminal-bash-ssh-tmux is slow enough that rendering speed is affected and its annoying.

Is this fixable by using a gpu? Probably not, but I'm willing to give it a try!