Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird behaviour of a multiline prompt
- X-seq: zsh-workers 39761
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Weird behaviour of a multiline prompt
- Date: Sat, 29 Oct 2016 11:41:31 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=ZqX0YDEoVUoPrqNTs6zhgN+S/ZDUIkX29zX2bZMIYio=; b=CdFP7yELLovdtw8d5LOzqMXBHY6iBGy+xxVSxJAnQhHSiWbveRcm2iTj8A4P17wDwZ dSqoBV9wZ2pgo3K906FMoDFxnDT6vSA2midLuMaO5tBI7rcE/8sfJxEtCj2JOnSntz53 h0KH1UMKNv8D3aXlo+t/WETpt0apbUgngRpcC7rd58sH0QxtKNMA2bbocF2Aw4zfCbec JjpHssJIHWNcGugyjT55TTM9nBOUtzcjvEM4rCgr0qdqw1koMC6G0kevW8GLKXQXIKye qOdvD4LL1v0tuTzRNfrWtyuwXt8RxCBLk1T4W2CFTHfBL7PqBDDWDOnGJlf/fs4YZbiE hzqA==
- In-reply-to: <1355161477764839@web20o.yandex.ru>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1355161477764839@web20o.yandex.ru>
On Oct 29, 9:13pm, Nikolay Aleksandrovich Pavlov (ZyX) wrote:
}
} PS1=$'abc\n'
}
} (i.e. non-empty line above an empty prompt) then it shows up as
} expected when I replace my prompt with this. But when I try using
} exactly the same prompt in `pexpect` zsh no longer shows any prompt at
} all: neither `abc`, nor RPS1.
Check to see if the SINGLE_LINE_ZLE option has become set when inside
pexpect? RPS1 is not printed in single-line mode, and only the last
line of PS1.
Fix would be to force the environment value of LINES to be something
greater than 1 for pexpect.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author