From d79f15772b0489ae3bf77322706016c733a714c9 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Thu, 3 Apr 2008 19:18:11 +0200 Subject: [PATCH] When toggling options redraw the view instead of the whole display --- tig.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tig.c b/tig.c index eddd86e..b723587 100644 --- a/tig.c +++ b/tig.c @@ -2639,27 +2639,27 @@ view_driver(struct view *view, enum request request) case REQ_TOGGLE_LINENO: opt_line_number = !opt_line_number; - redraw_display(); + redraw_view(view); break; case REQ_TOGGLE_DATE: opt_date = !opt_date; - redraw_display(); + redraw_view(view); break; case REQ_TOGGLE_AUTHOR: opt_author = !opt_author; - redraw_display(); + redraw_view(view); break; case REQ_TOGGLE_REV_GRAPH: opt_rev_graph = !opt_rev_graph; - redraw_display(); + redraw_view(view); break; case REQ_TOGGLE_REFS: opt_show_refs = !opt_show_refs; - redraw_display(); + redraw_view(view); break; case REQ_PROMPT: -- 2.30.2