feat: persist window width across hide/restore#315
Conversation
|
Sometimes the default width display may not be wide enough (for example, we find that opencode has just output a relatively wide table). In such cases, my instinctive action is to make temporary fine adjustments using a touchpad or similar device. During this temporary adjustment, I do not want the default settings to override it. My local testing behavior is acceptable so far, but I've only conducted one round of vibe review, and I need to take a closer look myself. But I have to go to sleep now. If you have time and no issues (or if you have any issues), feel free to make changes directly |
fffd542 to
23e296a
Compare
|
before : before.mp4after : after.mp4 |
|
Do I need to add test cases? @sudo-tee |
|
@jensenojs I would indeed like it if you have time to add tests for this :) |
Save user-adjusted window width ratio when hiding and restore it when restoring hidden windows.
23e296a to
063ce4f
Compare
|
Thanks for the fix |
Save user-adjusted window width ratio when hiding and restore it when restoring hidden windows.
Let situational width adjustments (wide tables, etc.) persist through toggle cycles while keeping config defaults for fresh sessions.