fix handling for UpArrow in bladeburner console

This commit is contained in:
Dominik Winter 2022-03-21 21:32:07 +01:00
parent ca02bdefd1
commit 14cdff5edd

@ -89,7 +89,7 @@ export function Console(props: IProps): React.ReactElement {
const consoleHistory = props.bladeburner.consoleHistory;
if (event.key === KEY.S) {
if (event.key === KEY.UPARROW) {
// up
let i = consoleHistoryIndex;
const len = consoleHistory.length;