Set cursor at end in console while navigating with up/down key
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
This commit is contained in:
parent
00f2d635f3
commit
57c498f060
@ -582,6 +582,9 @@ var PMA_consoleInput = {
|
||||
if (queryString !== false) {
|
||||
PMA_consoleInput._historyCount = nextCount;
|
||||
PMA_consoleInput.setText(queryString, 'console');
|
||||
if (PMA_consoleInput._codemirror) {
|
||||
editor.setCursor(editor.lineCount(), 0);
|
||||
}
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user