5 ms·
That's good to know. Perhaps I should replace the dots with empty space. I'll do that if we get more requests for it. Thank you for the feedback.
by amjith 9y ago
That's good to know. Perhaps I should replace the dots with empty space. I'll do that if we get more requests for it.
Thank you for the feedback.
- eriknstr 9y agoEmpty space would be the better default I think yes.
- OriginalPenguin 9y agoDefinitely empty space!
- s_kilk 9y agoSame, dots are obnoxious when copy-pasting.
- blattimwind 9y agoThe Python REPL notoriously uses >>>/... like in the screenshot, ẃith the effect that e.g. IPython has a special paste-from-repl magic just to remove these.
- tejasmanohar 9y agoThe dots are my biggest gripe about pgcli. That would be an awesome change!
- amjith 9y agoYou can change this to an empty space via the config file right now. In ~/.config/pgcli/config look for continuation prompt and set it to empty string.
- peteretep 9y agoDon't want to pile on, but yes to empty spaces
- adrianratnapala 9y agoWhile you are data gathering, I will half-vote the other way. In VIM I make my whitespace visible, and just live with the consequences when I cut an paste. That said, I most of my empty spaces are still invisible, I only show tabs and trailing spaces.
- coldtea 9y agoWell, an editor should not copy whitespace visibility characters in the first place.
- spion 9y agoOr alternatively the prompt character could start on a new line. That way you can have smaller windows fit more query per line with less space wasted on white-space.
- eriknstr 9y agoBut in return you might use more vertical space, and with a terminal size of 80x24, vertical space is more precious.
- coldtea 9y agoWith the "newline after prompt" scheme, you only get one extra line per query. Which, if the query is long (e.g. longer than 20+ lines) it's not gonna make any difference anyway -- it's not like it matters if you can fit e.g. 24 or 23 lines of a 30 line query (besides, the result rows are gonna take much more vertical space, further making the measly 1 extra line issue moot). As for for multiple small queries (and one extra line after each of those prompts), you can always scroll. And, again, the results are gonna take far more vertical space than the single extra line per prompt. And, of course, with the full horizontal space available (and not half wasted by dots) you get to fit more characters in each line, and thus your queries will probably end up using FEWER lines. So, not only the extra line from the "newline after prompt" is no big deal vertical-space wise, but the dot scheme wastes MORE vertical space AND renders queries unpastable.
- deleted 9y ago[deleted]