Skip to content

Commit 0e3453e

Browse files
committed
Revert "review: don't replace space escapes"
This reverts commit 4e6d04b.
1 parent e2b4f67 commit 0e3453e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

widgets/compose.go

+1
Original file line numberDiff line numberDiff line change
@@ -1648,6 +1648,7 @@ func newReviewMessage(composer *Composer, err error) *reviewMessage {
16481648
for _, binding := range bindings.Bindings {
16491649
inputs := config.FormatKeyStrokes(binding.Input)
16501650
outputs := config.FormatKeyStrokes(binding.Output)
1651+
outputs = strings.ReplaceAll(outputs, "<space>", " ")
16511652
found := false
16521653
for i, rcmd := range reviewCommands {
16531654
if outputs == rcmd[0] {

0 commit comments

Comments
 (0)