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

Can no longer set max width or height limit after force-width and force-height options removed #2671

Closed
bpsib opened this issue Apr 21, 2021 · 4 comments

Comments

@bpsib
Copy link

bpsib commented Apr 21, 2021

Issue description

I find it really annoying that the force-width and force-height options got removed from version 2.9. This means I can no longer set the maximum limit of the width or height and still have it reduce when reducing the window size below the limit.

It says in the changelog the resize-window option does the same thing but it doesn't. It sets window-size to manual which I don't want. There needs to be limit-width and limit-height options that do the same as what the force-width and force-height options did.

Required information

Please provide the following information:

  • tmux version: 3.0a
  • Platform: Ubuntu.
  • $TERM inside of tmux : screen . Outside of tmux: xterm-256color.
@nicm
Copy link
Member

nicm commented Apr 23, 2021

You can now do this with resize-window whether you like it changing window-size or not. We are not having two ways to do the same thing.

@nicm
Copy link
Member

nicm commented Apr 23, 2021

I would be open to including a manual-or-smallest choice for window-size that picks manual unless there any clients with a smaller size. I don't think it would be a big effort to implement.

@nicm
Copy link
Member

nicm commented Apr 27, 2021

Added this to todo list.

@nicm nicm closed this as completed Apr 27, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants