bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] show-mode-in-prompt and prompt starting with newline


From: Chet Ramey
Subject: Re: [Bug-readline] show-mode-in-prompt and prompt starting with newline
Date: Mon, 22 Jun 2015 16:13:51 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 6/22/15 1:44 PM, Carlos Pita wrote:
> I run into this issue trying to set show-mode-in-prompt for an ipython 
> session:
> 
> https://github.com/ipython/ipython/issues/8539
> 
> By default ipython puts a '\n'  at the beginning of the readline
> prompt, which seems to be confusing readline about the actual location
> of the mode indicator.

This is among several changes that have already been made for the next
version.  Among other things, the mode string is now placed at the
beginning of the last line of a multiline prompt.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]