From 4490b623f888437d1c3472843f610a2f320ebd74 Mon Sep 17 00:00:00 2001 From: Anil Sahoo Date: Mon, 11 Dec 2023 11:28:33 +0530 Subject: [PATCH] Fixed an issue where option key was not registering in PSQL tool. #6968 --- web/pgadmin/tools/psql/static/js/psql_module.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/pgadmin/tools/psql/static/js/psql_module.js b/web/pgadmin/tools/psql/static/js/psql_module.js index d57745072..8f41e9362 100644 --- a/web/pgadmin/tools/psql/static/js/psql_module.js +++ b/web/pgadmin/tools/psql/static/js/psql_module.js @@ -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) {