I don't know about this, it seems like it is adding a delay without much
real benefit and I don't think it is very user friendly to change the
list when you move the cursor.



On Sat, Jul 08, 2017 at 04:53:32PM +0100, Thomas Adam wrote:
> Re-draw/render the tree when navigating the tree; this will
> automatically update windows/sessions/panes in the tree view, if the
> state of them changes externally.
> ---
>  mode-tree.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/mode-tree.c b/mode-tree.c
> index 536da03b..e8950004 100644
> --- a/mode-tree.c
> +++ b/mode-tree.c
> @@ -203,6 +203,8 @@ mode_tree_set_current(struct mode_tree_data *mtd, 
> uint64_t tag)
>  void
>  mode_tree_up(struct mode_tree_data *mtd, int wrap)
>  {
> +     mode_tree_build(mtd);
> +
>       if (mtd->current == 0) {
>               if (wrap) {
>                       mtd->current = mtd->line_size - 1;
> @@ -219,6 +221,8 @@ mode_tree_up(struct mode_tree_data *mtd, int wrap)
>  void
>  mode_tree_down(struct mode_tree_data *mtd, int wrap)
>  {
> +     mode_tree_build(mtd);
> +
>       if (mtd->current == mtd->line_size - 1) {
>               if (wrap) {
>                       mtd->current = 0;
> -- 
> 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.

-- 
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.

Reply via email to