When the tree expansion goes from single keys to using Meta-key, the
spacing between the key indicators forces the tree to "jump" when
rendering. Instead, pad the spacing of the single keys to match that of
the Meta-keys.
---
mode-tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mode-tree.c b/mode-tree.c
index 8ce4c403..536da03b 100644
--- a/mode-tree.c
+++ b/mode-tree.c
@@ -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
--
2.13.2
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.