mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Line up keys in tree mode, and don't expand windows with one pane. From
Thomas Adam.
This commit is contained in:
@ -487,7 +487,7 @@ mode_tree_draw(struct mode_tree_data *mtd)
|
||||
screen_write_cursormove(&ctx, 0, i - mtd->offset);
|
||||
|
||||
if (i < 10)
|
||||
snprintf(key, sizeof key, "(%c)", '0' + i);
|
||||
snprintf(key, sizeof key, "(%c) ", '0' + i);
|
||||
else if (i < 36)
|
||||
snprintf(key, sizeof key, "(M-%c)", 'a' + (i - 10));
|
||||
else
|
||||
|
Reference in New Issue
Block a user