Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFeature request: no continuation gap at all #730
Labels
Comments
|
I agree this would be useful! As a workaround (what I usually do) you can add \e to the query and press |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Multi-line queries have a prompt_continuation (or not currently, due to issue 681, but that's beside the point). But even with prompt_continuation set to an empty string, it starts the next line indented, even when it's just due to wrapping at the edge of the terminal window:
I often copy/paste my query from my terminal, for example to share with others or just document what I did in case I need to reproduce it later. But the formatting above leaves a big space in the query, so that when I paste it elsewhere it looks like
select "example text that wraps onto the nex t line";.It would be nice if the configuration related to multi-line and prompt continuation had some way to get this format:
This is obviously pretty minor. Just thought I'd put this out there since it does come up for me, and maybe someone else will agree.