diff --git a/docs/en_US/release_notes_5_7.rst b/docs/en_US/release_notes_5_7.rst index 1474d58df..2f0f849ea 100644 --- a/docs/en_US/release_notes_5_7.rst +++ b/docs/en_US/release_notes_5_7.rst @@ -19,6 +19,7 @@ Housekeeping Bug fixes ********* +| `Issue #6544 `_ - Fixed width limitation issue in PSQL tool window. | `Issue #6564 `_ - Fixed an issue where columns with sequences get altered unnecessarily with a schema diff tool. | `Issue #6572 `_ - Partially fixes the data output panel display issue. | `Issue #6663 `_ - Fixed no attribute '_asdict' error when connecting the database server. diff --git a/web/pgadmin/tools/psql/templates/editor_template.html b/web/pgadmin/tools/psql/templates/editor_template.html index df7c0c923..e60575098 100644 --- a/web/pgadmin/tools/psql/templates/editor_template.html +++ b/web/pgadmin/tools/psql/templates/editor_template.html @@ -35,6 +35,10 @@ require( self.pgAdmin.Browser.psql.psql_socket_io(socket, '{{is_enable}}', '{{sid}}', '{{db | replace("'", "\'")| replace('"', '\"') | replace('\\', '\\\\')}}', '{{server_type}}', fitAddon, term); self.pgAdmin.Browser.psql.psql_terminal_io(term, socket, '{{platform}}'); self.pgAdmin.Browser.psql.check_db_name_change('{{db}}', '{{o_db_name}}'); + + setTimeout(function(){ + socket.emit("resize", {"cols": term.cols, "rows": term.rows}) + }, 1000); function fitToscreen(){