Skip to content

Commit

Permalink
Fix options key not registering in PSQL CLI tool. pgadmin-org#6968
Browse files Browse the repository at this point in the history
  • Loading branch information
anilsahoo20 committed Dec 5, 2023
1 parent e64f4f6 commit 6b1fa83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/pgadmin/tools/psql/static/js/psql_module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6b1fa83

Please sign in to comment.