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

Add the rotate command & button #352

Open
daonb opened this issue Feb 5, 2023 · 0 comments
Open

Add the rotate command & button #352

daonb opened this issue Feb 5, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@daonb
Copy link
Contributor

daonb commented Feb 5, 2023

What's missing? Please describe your flow and where this feature will help.
Sometimes I start in full screen and I use a layout:

┌────────────┬────────┐
│            │        │
│            │        │
│            │        │
│     A      │   B    │
│            │        │
│            │        │
│            │        │
└────────────┴────────┘

Than I switch to a narrow view and I want them to be on top to each other:

┌─────────┐
│         │
│         │
│    A    │
│         │
│         │
├─────────┤
│         │
│    B    │
│         │
│         │
└─────────┘

I want a rotate botton between the split button that will rotate the layout
90 degrees clock wise. Pressing the button twice will restore the original layout
but with B on the left and A on the right which is also usefull at times.

Additional Context

There should be a new command rotate which the new button runs.
The Layout class in src/layout.ts is the place to start.

@daonb daonb added the enhancement New feature or request label Feb 5, 2023
@daonb daonb added the good first issue Good for newcomers label Sep 12, 2024
@daonb daonb changed the title Add the rotate button Add the rotate command & button Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant