Fixed an issue where option key was not registering in PSQL tool. #6968

This commit is contained in:
Anil Sahoo 2023-12-11 11:28:33 +05:30 committed by GitHub
parent 371bec7f19
commit 4490b623f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,6 @@ export function initialize(gettext, url_for, _, pgAdmin, csrfToken, Browser) {
// theme colors
return new terminal({
cursorBlink: true,
macOptionIsMeta: true,
scrollback: 5000,
});
},
@ -283,7 +282,7 @@ export function initialize(gettext, url_for, _, pgAdmin, csrfToken, Browser) {
});
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) {