I am using Kitty with WinSCP like this:
kitty.exe -title !U@!@ -cmd "cd '!/'" !U@!@
However I would like my kitty title to have the name of the session that I am opeing - currently I can only pass session hostname, username, etc.
This way when I have multiple sessions open in WinSCP I can have multiple Kitty sessions and the names will match the tabs in WinSCP.
Currently I am making errors, entering commands in one window thinking it is a totally different session.
The session param could be !S and an example terminal client path could be:
kitty.exe -title !S -cmd "cd '!/'" !U@!@