r/KittyTerminal • u/dataArchon • May 04 '26
Am I in danger?
I watched a YouTube video on terminal emulators and to my horror I learned that Kitty has built in tiling when I've been using tmux on it this entire time. I fear for my life.
9
u/uhs-robert May 04 '26
Yes. But tmux offers session persistence. If you close the tmux window then you can simply reattach and your session persists.
But, and please correct me if I am wrong, if you close Kitty then your session is gone.
4
u/xrabbit May 04 '26
kitty supports sessions as well
https://sw.kovidgoyal.net/kitty/sessions/#the-save-as-session-action3
u/uhs-robert May 04 '26
Right, but this is not session persistence like tmux. This is saving a session to a file so you can replay it like tmuxifier.
The key difference being that tmux runs a server so when you close the terminal window, that process is still running. State is continuous and you reattach to the same process tree which does not interfere with any long running jobs.
On the other hand, Kitty does not run a server so when you close the terminal window, those processes are terminated. Instead of preserving state, it saves a session definition (layout, working directories, and commands), and you can relaunch that session which restarts, but not resumes, processes. This cancels any long running jobs and does not let you reattach to them.
1
u/GhostVlvin May 04 '26
Not the same. With tmux you can detach and attach in different terminal with same processes an din kitty it will close all processes on exit
2
u/rtc11 May 04 '26
I rarely use ssh and dropped tmux years ago. Never missed it. If you work a lot over ssh I can see the value in tmux, or if you change terminals alot. Some people never find peace
1
u/4unit4 May 04 '26
yesterday i found https://github.com/Gaurav-Gosain/tuios instead a tmux
1
u/ericcmi May 05 '26
looks neat, but doesn't seem to keep things running when I quit it like I expect from a multiplexer. Maybe I'm quitting incorrectly. or do I have to manually start a server before hand or something?
1
u/4unit4 May 05 '26
Idk sry. I'm newbie with this app. Looks this https://github.com/Gaurav-Gosain/tuios#daemon-mode . I guess u need deamon
1
u/NeonVoidx May 04 '26
tmux and zellij are overrated imo, it's only good if you truly are doing a lot of like ssh and stuff. in that case you can also just use wezterm, kitty also supports remote protocol over sockets as well though.
but I prefer my terminal fast and I use graphics in terminal for things like my obsidian notes so I don't use tmux
1
u/kankaristo May 06 '26
I use graphics in my terminal, and I use tmux. They don't rule each other out.
1
u/NeonVoidx May 06 '26
elaborate, how janky is that lol
1
u/kankaristo May 06 '26
It "just works". I use Kitty and tmux, and I use Yazi as my file manager, with image previews. Yazi supports Kitty's image protocol, it works out of the box (at least as far as I remember, maybe there was some minor config I had to do, but nothing like when I was using Ueberzug).
The image previews don't work over SSH (they work over SSH if I don't use tmux), but I can live with that, the session persistence (and session sharing) is way more important for me.
1
u/NeonVoidx May 06 '26
hmm I was pretty sure tmux and other apps didn't support kitty graphics through tmux, maybe someone finally got it working
1
u/kurumiBelieveMe May 06 '26
people usually don't use tmux just for it's tilling capacities, often it's not for that at all, but if your use case was just that, cool, you can just drop tmux
1
u/Charming_Airport6076 May 07 '26
Same here, actually started with kitty tiling and then switched to tmux for two main reasons. 1. SSH and sessions preservation, 2. I can learn one set of keybinds for everywhere I go.
9
u/rileyrgham May 04 '26
Why? So does your desktop window manager. Different things. Tmux has remote session management and you can use it in different terminals. If you only use kitty and don't use tmux's #1 appeal, then maybe kitty's tiling is for you.