diff options
| author | Maxime Coste <mawww@kakoune.org> | 2021-08-17 20:40:30 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2021-08-17 20:40:30 +1000 |
| commit | 7187784936edc640d547ad497ef9b644a2483a2e (patch) | |
| tree | a75399641deeb7c698533bda1c9eb61e2ce05c6a /src/normal.cc | |
| parent | 94388dc51e22770e1a9a79ad310cc3c78443ef36 (diff) | |
Move control character escaping responsibility to the terminal UI
Fix atom text at display time, allow tabs/eol/etc... in display
atoms and escape them just-in-time
Fixes #4293
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc index ad21a8b1..42214a6e 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -966,7 +966,7 @@ void use_selection_as_search_pattern(Context& context, NormalParams params) const char reg = to_lower(params.reg ? params.reg : '/'); context.print_status({ - format("register '{}' set to '{}'", reg, fix_atom_text(pattern)), + format("register '{}' set to '{}'", reg, pattern), context.faces()["Information"] }); RegisterManager::instance()[reg].set(context, {pattern}); |
