mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-23 16:22:24 +03:00
Avoid showing <esc> in options map when it doesn't do anything
The code duplication between Escape and EscapeEnabled is unfortunate, but I don't see a better way to solve this.
This commit is contained in:
@@ -31,12 +31,12 @@ var KeybindingSuggestionsWhenSwitchingRepos = NewIntegrationTest(NewIntegrationT
|
||||
|
||||
t.Views().Files().Focus()
|
||||
t.Views().Options().Content(
|
||||
Equals("Commit: c | Stash: s | Reset: D | Keybindings: ? | Cancel: <esc>"))
|
||||
Equals("Commit: c | Stash: s | Reset: D | Keybindings: ?"))
|
||||
|
||||
switchToRepo("other")
|
||||
switchToRepo("repo")
|
||||
|
||||
t.Views().Options().Content(
|
||||
Equals("Commit: c | Stash: s | Reset: D | Keybindings: ? | Cancel: <esc>"))
|
||||
Equals("Commit: c | Stash: s | Reset: D | Keybindings: ?"))
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user