File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1184,7 +1184,7 @@ namespace winrt::TerminalApp::implementation
1184
1184
for (const auto & nameAndCommand : parentCommand.NestedCommands ())
1185
1185
{
1186
1186
const auto action = nameAndCommand.Value ();
1187
- // nested commands cannot have keybinds bound to them, so just pass in the command and no keys
1187
+ // nested commands cannot have keys bound to them, so just pass in the command and no keys
1188
1188
auto nestedActionPaletteItem{ winrt::make<winrt::TerminalApp::implementation::ActionPaletteItem>(action, L" " ) };
1189
1189
auto nestedFilteredCommand{ winrt::make<FilteredCommand>(nestedActionPaletteItem) };
1190
1190
_currentNestedCommands.Append (nestedFilteredCommand);
Original file line number Diff line number Diff line change @@ -680,8 +680,8 @@ namespace winrt::Microsoft::Terminal::Settings::Model::implementation
680
680
_RefreshKeyBindingCaches ();
681
681
}
682
682
683
- // I dislike that we have to do an O(n) lookup everytime we want to get the keybinding for an action -
684
- // an alternative is having the key->action map be a bimap (would require a dependency), or store another map that is just
683
+ // I dislike that we have to do an O(n) lookup every time we want to get the keybinding for an action -
684
+ // an alternative is having the key->action map be a bi-map (would require a dependency), or store another map that is just
685
685
// the reverse direction (action->key) which would be mean storing the same data twice but getting faster lookup
686
686
for (const auto [key, action] : _ResolvedKeyActionMapCache)
687
687
{
You can’t perform that action at this time.
0 commit comments