fix(help): keep the shortcuts panel inside its dock
The action column of the panel was written with no width limit, so on a narrow dock a long action name was cut by the edge of the panel in the middle of an identifier, and a selected row padded with reverse video overflowed. The column is now bounded by the room the row leaves and ellipsized with a single cell ellipsis, the key column shrinks on very narrow docks, and the full name of the selected action stays reachable on the help line. Fixes #50
This commit is contained in:
3 files changed
+145
-23
No files matched your search
@@ -263,6 +263,11 @@ Detailed list of changes
|
||||
:kbd:`kitty_mod+H` is pressed. The panel can also be started with
|
||||
:code:`kitty +kitten help`.
|
||||
|
||||
- The keyboard shortcuts panel ellipsizes a long action name inside its own
|
||||
column instead of letting the edge of the dock cut it, shrinks its key column
|
||||
on very narrow docks so that a row always fits, and shows the full name of
|
||||
the selected action on the help line.
|
||||
|
||||
- The default :opt:`tab_title_template` now shows the abbreviated working
|
||||
directory of the tab before its title, so the directory indicator of the tab
|
||||
bar is visible without configuration.
|
||||
|
||||
Reference in new issue
Block a user