diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-06-21 19:56:23 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-06-21 19:56:23 +0100 |
| commit | 3834440298e2cf120dbddcfce959cc7e40c335ac (patch) | |
| tree | 2d6b26a3581c87f61178b0c03d5d28d524123777 /src/normal.cc | |
| parent | 7c22ff217d5d02bb926202e48dc35ba7a19c6f66 (diff) | |
Rework window redraw handling, should redraw window less often
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/normal.cc b/src/normal.cc index 84724b11..4cd8dddf 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -686,6 +686,10 @@ void use_selection_as_search_pattern(Context& context, NormalParams) get_face("Information") }); } RegisterManager::instance()['/'] = patterns; + + // Hack, as Window do not take register state into account + if (context.has_window()) + context.window().force_redraw(); } void select_regex(Context& context, NormalParams) |
