We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66e8994 commit 54903cbCopy full SHA for 54903cb
client/modules/IDE/components/ConsoleInput.jsx
@@ -91,7 +91,7 @@ function ConsoleInput({ theme, dispatchConsoleEvent, fontSize }) {
91
commandHistory.length - 1
92
);
93
cm.setValue(commandHistory[newCursor] || '');
94
- const cursorPos = cm.current.getDoc().getLine(0).length - 1;
+ const cursorPos = cm.getDoc().getLine(0).length - 1;
95
cm.getDoc().setCursor({ line: 0, ch: cursorPos });
96
setCommandCursor(newCursor);
97
}
0 commit comments