mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where option key was not registering in PSQL tool. #6968
This commit is contained in:
parent
371bec7f19
commit
4490b623f8
@ -161,7 +161,6 @@ export function initialize(gettext, url_for, _, pgAdmin, csrfToken, Browser) {
|
|||||||
// theme colors
|
// theme colors
|
||||||
return new terminal({
|
return new terminal({
|
||||||
cursorBlink: true,
|
cursorBlink: true,
|
||||||
macOptionIsMeta: true,
|
|
||||||
scrollback: 5000,
|
scrollback: 5000,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -283,7 +282,7 @@ export function initialize(gettext, url_for, _, pgAdmin, csrfToken, Browser) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
term.onKey(function (ev) {
|
term.onKey(function (ev) {
|
||||||
socket.emit('socket_input', {'input': ev.domEvent.key, 'key_name': ev.domEvent.code});
|
socket.emit('socket_input', {'input': ev.key, 'key_name': ev.domEvent.code});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
check_db_name_change: function(db_name, o_db_name) {
|
check_db_name_change: function(db_name, o_db_name) {
|
||||||
|
Loading…
Reference in New Issue
Block a user