You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Action / key-binding to zoom / maximize preview pane #372
but the preview needs to be the focused widget to activate this keybind. Pressing this again doesn't exit maximised mode; only Esc does, or a keybind bound to minimize. a action_toggle_maximize(query: str) on Application should be reasonable, so that
Thanks I'd missed this and my solution applying a class is crashing for non-directory text previews and directory previews to long to fit on the screen. Not that I want to preview directories. Images there's no crash but the image isn't re-rendered so will look at that. Crash is in textual rendering, fwiw. I will play more with that action.
Activity
NSPC911 commentedon Oct 22, 2026
Okay, so I took a look at Textual's documentation, and there is an action for maximising the focused widget
https://textual.textualize.io/api/screen/#textual.screen.Screen.action_maximize
This means you can do
but the preview needs to be the focused widget to activate this keybind. Pressing this again doesn't exit maximised mode; only
Escdoes, or a keybind bound tominimize. aaction_toggle_maximize(query: str)onApplicationshould be reasonable, so thatis possible
brownterryn commentedon Oct 22, 2026
Thanks I'd missed this and my solution applying a class is crashing for non-directory text previews and directory previews to long to fit on the screen. Not that I want to preview directories. Images there's no crash but the image isn't re-rendered so will look at that. Crash is in textual rendering, fwiw. I will play more with that action.
Toggle maximization of preview sidebar
Toggle maximization of preview sidebar
feat: Toggle maximization of preview sidebar