cyd01 / KiTTY

:computer: KiTTY, a free telnet/ssh client for Windows
https://www.9bis.com/kitty
Other
1.55k stars 132 forks source link

[Feature Request] Option to Start instead of Open when double-click on saved session #484

Open PhilippeCadieux opened 1 year ago

PhilippeCadieux commented 1 year ago

Right now, if you double-click a saved session it will do the equivalent of clicking the "Open" button and close the Configuration window.

I prefer to use the "Start" button to keep the configuration window opened in the background allowing me to quickly switch between multipled saved sessions.

Having an option to change the behavior when double-clicking a saved session to do a "Start" instead of an "Open" would be greatly appreciated.

FajeSu commented 1 year ago

Dear @cyd01, make this option work, please. Very handy feature!

Duplicates #153, #468

Spoony75 commented 1 year ago

I think the kitty.ini option

[ConfigBox]
; dblclick: define the default action when double click on a session in session list
;    Allowed values are:
;    - open: press open button
;    - start: press start button
dblclick=start

is supposed to exactly to this. But (at least for me) it doesn't work; the configuration window still closes after starting a SSH session with double click.

FajeSu commented 1 year ago

I think the kitty.ini option

[ConfigBox]
; dblclick: define the default action when double click on a session in session list
;    Allowed values are:
;    - open: press open button
;    - start: press start button
dblclick=start

is supposed to exactly to this. But (at least for me) it doesn't work; the configuration window still closes after starting a SSH session with double click.

@Spoony75, you are absolutely right, but this option does not work and not only for you.

cyd01 commented 1 year ago

Very strange: it works perfectly on my side.

With

[ConfigBox]
dblclick=start

in kitty.ini configuration file the main window remains opened after double-click on any session name. Need more context.

Fredrik-69 commented 1 year ago

Kitty Portable crashes after a second or two with 'dblclick=start' set.

Faulting application name: KITTY~2.EXE, version: 0.76.1.9, time stamp: 0x645a4072 Faulting module name: KITTY~2.EXE, version: 0.76.1.9, time stamp: 0x645a4072 Exception code: 0xc0000005 Fault offset: 0x00009d28 Faulting process id: 0x0x11A4

FajeSu commented 1 year ago

Need more context.

@cyd01, watch the video from issue #468, please. Tell me what else I need to do?

cyd01 commented 1 year ago

Ok I understand: you use "Portable mode" ! I never use it. I need some more tests.

Fredrik-69 commented 1 year ago

For me it's cool. I don't need dblclick=start. I was just telling if it could help someone.