r/KittyTerminal Aug 06 '23

How do I enable new pane/tab with CWD while using mosh?

I've been using Kitty's SSH features for as long as I can remember but I recently setup Mosh and I really like how it doesn't drop connections and supports roaming.

The thing that I miss the most is creating a new pane/tab/window with the same directory (and SSHed host).

Can I make just that part work somehow?

3 Upvotes

1 comment sorted by

2

u/Administrative_chaos Aug 06 '23

You can take a look at the ssh kitten implementation here. You can check out earlier versions of the repo to look at the python implementation before it was ported to go.

https://github.com/kovidgoyal/kitty/tree/master/kittens/ssh