Skip to content

Commit 91881ad

Browse files
authored
Fixed an issue where option key was not registering in PSQL tool. #6968
1 parent e011ad0 commit 91881ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/pgadmin/tools/psql/static/js/components/PsqlComponent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function psql_terminal_io(term, socket, platform, pgAdmin) {
111111
});
112112

113113
term.onKey(function (ev) {
114-
socket.emit('socket_input', {'input': ev.key, 'key_name': ev.domEvent.code});
114+
socket.emit('socket_input', {'input': ev.domEvent.key, 'key_name': ev.domEvent.code});
115115
});
116116
}
117117

0 commit comments

Comments
 (0)