summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Fonseca <jonas.fonseca@gmail.com>2017-07-09 23:17:01 -0400
committerJonas Fonseca <jonas.fonseca@gmail.com>2017-07-09 23:17:01 -0400
commit838f8b7fb769c814156cfaef89859f200e20ca5b (patch)
tree7c6f2803e4670f40bf8d337b3ca3045fe94df13f
parent7a8db4eb9bff89f9cad48088e9e2f662f43ac930 (diff)
Fix #527: set the reset display flag for line-graphics
... to ensure that everything is repainted.
-rw-r--r--NEWS.adoc1
-rw-r--r--include/tig/options.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS.adoc b/NEWS.adoc
index 24a6e8b0..e0122f82 100644
--- a/NEWS.adoc
+++ b/NEWS.adoc
@@ -52,6 +52,7 @@ Bug fixes:
- Fix memory corruption in `concat_argv` and file finder. (GH #634, #655)
- Fix reading from stdin for `tig show`.
- Document problem of outdated system-wide `tigrc` files in Homebrew. (GH #598)
+ - Repaint the display when toggling `line-graphics`. (GH #527)
tig-2.2.2
---------
diff --git a/include/tig/options.h b/include/tig/options.h
index 0753b7a0..f0ac52ff 100644
--- a/include/tig/options.h
+++ b/include/tig/options.h
@@ -50,7 +50,7 @@ typedef struct view_column *view_settings;
_(id_width, int, VIEW_NO_FLAGS) \
_(ignore_case, enum ignore_case, VIEW_NO_FLAGS) \
_(ignore_space, enum ignore_space, VIEW_DIFF_LIKE) \
- _(line_graphics, enum graphic, VIEW_NO_FLAGS) \
+ _(line_graphics, enum graphic, VIEW_RESET_DISPLAY) \
_(log_options, const char **, VIEW_LOG_LIKE) \
_(log_view, view_settings, VIEW_NO_FLAGS) \
_(mailmap, bool, VIEW_DIFF_LIKE | VIEW_LOG_LIKE) \