Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect display for remote connection and complex multiline queries #77

Closed
pashagolub opened this issue Jun 10, 2018 · 5 comments
Closed

Comments

@pashagolub
Copy link

I'm not sure if the remote connection is an issue, but decided to add it just in case.
The thing is for complex queries table is corrupted. Switching between views (V key) is not fixing the situation, but the display is changing somehow and stays corrupted.
2018-06-10 19_47_36-greenshot

@genericmoniker
Copy link

I'm seeing something similar (though just connected to localhost). The displayed multi-line query is truncated in various surprising ways depending on the size of the terminal window. For example:

image

@julmon
Copy link
Contributor

julmon commented Jul 23, 2018

What terminal are you using ? It looks that pg_activity doesn't get terminal right size.

@pashagolub
Copy link
Author

Terminal on the screenshot is ConEmu, but I observed pretty the same on others. Could it be affected by \r\n symbols in a SQL itself?

@julmon julmon closed this as completed in 1fc7a67 Jul 25, 2018
julmon added a commit that referenced this issue Jul 25, 2018
Fix #77: clean query string in all cases
@julmon
Copy link
Contributor

julmon commented Jul 25, 2018

@pashagolub thanks ! you're right, query string wasn't cleaned in remote mode.

@genericmoniker
Copy link

In my case, it was just the Gnome terminal in CentOS 7, running in a VirtualBox VM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants