From 6b1fa83eee60df1fedd644cc2fa3fb63aeb9ed97 Mon Sep 17 00:00:00 2001 From: Anil Sahoo Date: Tue, 5 Dec 2023 10:59:40 +0530 Subject: [PATCH] Fix options key not registering in PSQL CLI tool. #6968 --- web/pgadmin/tools/psql/static/js/psql_module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgadmin/tools/psql/static/js/psql_module.js b/web/pgadmin/tools/psql/static/js/psql_module.js index 1f9d0211ef9..d57745072d7 100644 --- a/web/pgadmin/tools/psql/static/js/psql_module.js +++ b/web/pgadmin/tools/psql/static/js/psql_module.js @@ -283,7 +283,7 @@ export function initialize(gettext, url_for, _, pgAdmin, csrfToken, Browser) { }); term.onKey(function (ev) { - socket.emit('socket_input', {'input': ev.key, 'key_name': ev.domEvent.code}); + socket.emit('socket_input', {'input': ev.domEvent.key, 'key_name': ev.domEvent.code}); }); }, check_db_name_change: function(db_name, o_db_name) {