From a1783fea4e2ac24f3b2b94139ec8edb529ffefd7 Mon Sep 17 00:00:00 2001 From: Anil Sahoo Date: Thu, 19 Dec 2024 14:35:04 +0530 Subject: [PATCH] Fixed an issue where option key was not registering in PSQL tool. #6968 --- web/pgadmin/tools/psql/static/js/components/PsqlComponent.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgadmin/tools/psql/static/js/components/PsqlComponent.jsx b/web/pgadmin/tools/psql/static/js/components/PsqlComponent.jsx index cca8a246a1c..4dac21804f9 100644 --- a/web/pgadmin/tools/psql/static/js/components/PsqlComponent.jsx +++ b/web/pgadmin/tools/psql/static/js/components/PsqlComponent.jsx @@ -111,7 +111,7 @@ function psql_terminal_io(term, socket, platform, pgAdmin) { }); 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}); }); }