Bug: Tabs can go off screen
Closed this issue · 0 comments
everettraven commented
There is no logic to ensure that tabs don't extend beyond the width of the terminal and thus the tabs can expand beyond the width of the terminal making it impossible to view all possible tabs.
Some potential solutions off the top of my head:
- Add functionality to scroll horizontally through the tabs
- When tabs would extend beyond the screen, add a new tab row (this might look weird)
- Consider rewriting the display logic to instead have a list of panels in a sidebar on the left and the main viewport for the content on the right. If this approach is taken, there should be a key combination that allows to toggle focus from the sidebar to the content viewport, toggle the sidebar visibility, and when a new panel is selected (navigated to) the content view should be updated to reflect it's contents