diff options
author | Jonas Fonseca <jonas.fonseca@gmail.com> | 2017-07-09 23:17:01 -0400 |
---|---|---|
committer | Jonas Fonseca <jonas.fonseca@gmail.com> | 2017-07-09 23:17:01 -0400 |
commit | 838f8b7fb769c814156cfaef89859f200e20ca5b (patch) | |
tree | 7c6f2803e4670f40bf8d337b3ca3045fe94df13f | |
parent | 7a8db4eb9bff89f9cad48088e9e2f662f43ac930 (diff) |
Fix #527: set the reset display flag for line-graphics
... to ensure that everything is repainted.
-rw-r--r-- | NEWS.adoc | 1 | ||||
-rw-r--r-- | include/tig/options.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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) \ |