Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Increasing the number of lines for saved sessions #15

Closed
lars18th opened this issue May 13, 2024 · 2 comments
Closed

Comments

@lars18th
Copy link

Hi @lalbornoz ,

Maybe this sounds like a purely aesthetic change. However, after years of working with KiTTY I've found that the default layout of PuTTY can be improved. The height of the configuration window is currently very small. So it may be more useful if the number of lines in the saved session's box is increased. This generates a more useful window. More information here:
https://www.9bis.net/kitty/?#!pages/ConfigBox.md

So my suggestion is to implement a change to show 21 sessions in the ConfigBox instead of the default 6 sessions. Here is the source code where this change is implemented in KiTTY:
https://github.com/cyd01/KiTTY/blob/75fa2abcd220c17249ff7252f8d5224137001f2d/0.76_My_PuTTY/windows/windlg.c#L686-L698

I want to make it clear, that I'm not suggesting to implement the ability to set a particular window size, only to change the number of sessions displayed. And if the size is 21 sessions or any other number, or if it can be configured, I just want to leave it up to you to make that decision. I'm sure you will choose the simplest and most useful option.

I hope you will want to implement this "small" suggestion.
Thank you.

@lalbornoz
Copy link
Owner

lalbornoz commented May 15, 2024

N.B. I would make the new size adjustable at runtime but I've literally at this point lost interest in figuring out how to make the Windows API constrain window resizing to some fixed width or height, so if anyone knows how to make that work w/ the time-wasting abomination known as said Windows API feel free to tell me. Nevermind.

@lars18th
Copy link
Author

lars18th commented May 15, 2024

Thank you @lalbornoz . Waiting for the binary release to check it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants