|
| From: | Chet Ramey |
| Subject: | Re: Multiline editing breaks if the previous output doesn't end in newline |
| Date: | Mon, 31 Oct 2022 11:45:37 -0400 |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 |
On 10/30/22 9:40 PM, Oğuz wrote:
Yeah, or add a new prompt sequence (e.g. \N) that prints a newline only if the cursor is not at column 0.
There is no portable way to determine this.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
| [Prev in Thread] | Current Thread | [Next in Thread] |