Re: [ANNOUNCE] tig-0.14
- From
Jonas Fonseca <fonseca@diku.dk>
- Date
- Feb 10, 2009, 20:41 UTC
- Message-ID
- <2c6b72b30902101241p67a0e1e9u60c8033c4a03260c@mail.gmail.com>
- In-Reply-To
- <d4bc1a2a0902101129y22224c89y144b223e7d7dd463@mail.gmail.com>
On Tue, Feb 10, 2009 at 20:29, Stefan Karpinski <stefan.karpinski@gmail.com> wrote:
Show 8 quoted lines
> On Tue, Feb 10, 2009 at 11:07 AM, Brian Gernhardt > <benji@silverinsanity.com> wrote: >> >> OS 10.5.6's Terminal.app, with TERM=xterm-color >> I have no .tigrc > > Ditto. Same bug. Completely vanilla tig setup. OS X Leopard, > tig-0.14-9-gd06137e, TERM=xterm-color.
Looks like there might be a pattern and I might have an excuse to go knock on the door of one of my "Mac" friends. ;) However, first I would kindly ask if one of you have time to test the attached patch.
Thanks both of you and sorry for the inconvenience.
-- Jonas Fonseca From 3670b9f20c49c46c6418d7dbcce8265b2fe8a853 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca <fonseca@diku.dk> Date: Tue, 10 Feb 2009 21:33:18 +0100 Subject: [PATCH] Fix regression where a line was not cleared when not selected anymore Introduced in 273c28df2aa5cc0d122b1a0f3c0014a56ab8c392 (Tree view: make drawing more smooth by using the dirty flag). --- tig.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tig.c b/tig.c index 7072094..02f4bd8 100644 --- a/tig.c +++ b/tig.c @@ -2055,7 +2055,7 @@ draw_view_line(struct view *view, unsigned int lineno) line = &view->line[view->offset + lineno]; wmove(view->win, lineno, 0); - if (line->cleareol) + if (line->cleareol || (line->selected && !selected)) wclrtoeol(view->win); view->col = 0; view->curline = line; -- 1.6.1.1.347.g3f81d