forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1713a00
committed
psql: Fix %w length in PROMPT2 when PROMPT1 contains a newline.
The width of the invisible PROMPT2 must take into account, in orderfor user input to be aligned with the first line, that PROMPT1 cancontain newlines.Author: Maxence AhloucheReviewed-by: Tom LaneDiscussion:https://postgr.es/m/CAJeaomVyLSP_Wj%3D0FtYNTuoopWHyFarhUtYKDHs0HHv%2Bb%3DN9sA%40mail.gmail.com1 parentc185a57 commit1713a00
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
373 | 373 |
| |
374 | 374 |
| |
375 | 375 |
| |
376 |
| - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
377 | 380 |
| |
378 | 381 |
| |
379 | 382 |
| |
|
0 commit comments
Comments
(0)