diff options
author | Keenan Gugeler <me@kgugeler.ca> | 2023-08-18 19:03:14 +0000 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-08-25 14:07:24 +0200 |
commit | 4e6d04bf20baf37f104b2bedd9555992b79dbff4 (patch) | |
tree | f7e46f906efc8936fa6c366b5f73265a669f264a /widgets | |
parent | 71692aeb2426543455044d8c3b7565caf173906e (diff) | |
download | aerc-4e6d04bf20baf37f104b2bedd9555992b79dbff4.tar.gz |
review: don't replace space escapes
Currently we replace `<space>` in the output column in the review pane.
This causes the default actions `:attach<space>` and `:detach<space>` to
not be correctly named, and causes a mismatch between `binds.conf` and
the displayed bindings.
Signed-off-by: Keenan Gugeler <me@kgugeler.ca>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/compose.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/widgets/compose.go b/widgets/compose.go index 89697097..5ad67fd3 100644 --- a/widgets/compose.go +++ b/widgets/compose.go @@ -1610,7 +1610,6 @@ func newReviewMessage(composer *Composer, err error) *reviewMessage { for _, binding := range bindings.Bindings { inputs := config.FormatKeyStrokes(binding.Input) outputs := config.FormatKeyStrokes(binding.Output) - outputs = strings.ReplaceAll(outputs, "<space>", " ") found := false for i, rcmd := range reviewCommands { if outputs == rcmd[0] { |