From: Jonas Fonseca Date: Fri, 4 Apr 2008 09:30:47 +0000 (+0200) Subject: Revert "When toggling options redraw the view instead of the whole display" X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d9d43d617e6ed462fdd3b8ced31f08312bc15870;p=tig.git Revert "When toggling options redraw the view instead of the whole display" This reverts commit d79f15772b0489ae3bf77322706016c733a714c9. --- diff --git a/tig.c b/tig.c index a5d6a5e..6bb5ebb 100644 --- a/tig.c +++ b/tig.c @@ -2646,27 +2646,27 @@ view_driver(struct view *view, enum request request) case REQ_TOGGLE_LINENO: opt_line_number = !opt_line_number; - redraw_view(view); + redraw_display(); break; case REQ_TOGGLE_DATE: opt_date = !opt_date; - redraw_view(view); + redraw_display(); break; case REQ_TOGGLE_AUTHOR: opt_author = !opt_author; - redraw_view(view); + redraw_display(); break; case REQ_TOGGLE_REV_GRAPH: opt_rev_graph = !opt_rev_graph; - redraw_view(view); + redraw_display(); break; case REQ_TOGGLE_REFS: opt_show_refs = !opt_show_refs; - redraw_view(view); + redraw_display(); break; case REQ_PROMPT: