"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: tog: tree view page up/down bugs
To:
gameoftrees@openbsd.org
Date:
Wed, 25 Nov 2020 14:19:02 +0100

Download raw body.

Thread
  • Christian Weisgerber:

    tog: tree view page up/down bugs

  • Also, while in this area, can we please simplify this:
    
    --- tog.c.orig	Wed Nov 25 13:47:45 2020
    +++ tog.c	Wed Nov 25 14:15:03 2020
    @@ -5399,11 +5399,8 @@
     	case KEY_UP:
     		if (s->selected > 0) {
     			s->selected--;
    -			if (s->selected == 0)
    -				break;
    -		}
    -		if (s->selected > 0)
     			break;
    +		}
     		tree_scroll_up(view, &s->first_displayed_entry, 1,
     		    s->tree, s->tree == s->root);
     		break;
    -- 
    Christian "naddy" Weisgerber                          naddy@mips.inka.de
    
    
    
  • Christian Weisgerber:

    tog: tree view page up/down bugs