UP_ARROW fix

This commit is contained in:
phyzical 2022-03-26 10:58:28 +08:00
parent d94f391dc6
commit e11cc1946e

@ -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.UP_ARROW) {
// up
let i = consoleHistoryIndex;
const len = consoleHistory.length;