From 91881ad6d34643f0c5f7c6367e56dd8a0fe28cf1 Mon Sep 17 00:00:00 2001 From: Anil Sahoo Date: Thu, 19 Dec 2024 15:40:23 +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 cca8a246a..4dac21804 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}); }); }