use cmdinput keybindings even when auxview info is open

This commit is contained in:
sawka
2024-05-02 15:26:17 -07:00
parent c711d32f54
commit 4cb89e02df
+3 -2
View File
@@ -617,8 +617,9 @@ class TextAreaInput extends React.Component<{ screen: Screen; onHeightChange: ()
} }
} }
} }
const renderCmdInputKeybindings =
const renderCmdInputKeybindings = inputModel.shouldRenderAuxViewKeybindings(null); inputModel.shouldRenderAuxViewKeybindings(null) ||
inputModel.shouldRenderAuxViewKeybindings(appconst.InputAuxView_Info);
const renderHistoryKeybindings = inputModel.shouldRenderAuxViewKeybindings(appconst.InputAuxView_History); const renderHistoryKeybindings = inputModel.shouldRenderAuxViewKeybindings(appconst.InputAuxView_History);
return ( return (
<div <div