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] tab min width #5035

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

matthewberryman
Copy link

I find that after my stroke I am a bit lacking in fine motor coordination, so in both the fancy and retro tab modes the minimum tab width as is a bit small, and so am often closing tabs by accident (when no process is running, anyway) and have difficulty navigating between tabs.

This change adds a minimum tab width to both tab modes (which defaults to the previous hardcoded minimum for retro mode).

Being a bit new to rust, I haven't written any tests, but this seems to be a thing which is possibly hard to test, and tab_max_width seems to be untested (at least I did a bit of a search for tests using tab_max_width and couldn't find any, though happy to work on tests if someone can give me a bit of a pointer to how to go about it.

@kenchou
Copy link

kenchou commented Apr 3, 2024

I also really need this feature. plz
@wez

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

Successfully merging this pull request may close these issues.

None yet

2 participants