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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: tog: finish move to view->resize() to populate log views
To:
Mark Jamsek <mark@jamsek.com>
Cc:
gameoftrees@openbsd.org
Date:
Fri, 22 Jul 2022 15:56:09 +0200

Download raw body.

Thread
On Fri, Jul 22, 2022 at 11:06:29PM +1000, Mark Jamsek wrote:
> This is a follow up to the recent commit that fixed the ref -> log child
> view v- to h-split case that left new log lines empty.
> 
> Instead of the current TOG_VIEW_LOG check, use the view->resize() idiom
> to ensure child and parent log views are properly populated when cycling
> views ('\t'), toggling fullscreen ('F'), switching splits ('S'), resizing
> splits (+/-), and closing child views ('q').
> 
> It's cleaner and more consistent style-wise.

Yes, makes sense. ok stsp@