Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Weird behaviour of a multiline prompt
- X-seq: zsh-workers 39759
- From: "Nikolay Aleksandrovich Pavlov (ZyX)" <kp-pav@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Weird behaviour of a multiline prompt
- Date: Sat, 29 Oct 2016 21:13:59 +0300
- Authentication-results: mxback7o.mail.yandex.net; dkim=pass header.i=@yandex.ru
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1477764839; bh=kEpKVitC3rwoC8VEag/6nET3lYbp3DaHBJ2qo6b93QY=; h=From:To:Subject:Message-Id:Date; b=O37KqW20vWP5XsQQ2p56C5WTsgudrUXunJxAD3fQ5yT+WeoF/CTvtAgLeQsI/Xee2 Lh9zRQYWZ1PfGMDbj4fhWAfKnHDuCPEZjqGh8R2jtFH6qVHeiZufi6hSF0IB6tZbFR 79cCUnfHb7KZa2+8JjRIgZxXN9nv4xepBtNpvmbY=
- 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
If I have a prompt like
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. Used environment is
environ = {
'LANG': 'en_US.UTF-8',
'PATH': os.pathsep.join(local_paths),
'TERM': 'screen-256color',
'DIR1': os.environ['DIR1'],
'DIR2': os.environ['DIR2'],
'XDG_CONFIG_HOME': os.path.abspath(os.path.join('tests', 'shell', 'fish_home')),
'IPYTHONDIR': os.path.abspath(os.path.join('tests', 'shell', 'ipython_home')),
'PYTHONPATH': python_paths,
'POWERLINE_CONFIG_OVERRIDES': os.environ.get('POWERLINE_CONFIG_OVERRIDES', ''),
'POWERLINE_THEME_OVERRIDES': os.environ.get('POWERLINE_THEME_OVERRIDES', ''),
'POWERLINE_CONFIG_PATHS': os.path.abspath(os.path.join('powerline', 'config_files')),
'POWERLINE_COMMAND_ARGS': os.environ.get('POWERLINE_COMMAND_ARGS', ''),
'POWERLINE_COMMAND': os.environ.get('POWERLINE_COMMAND', ''),
'LD_LIBRARY_PATH': os.environ.get('LD_LIBRARY_PATH', ''),
}
(https://github.com/ZyX-I/powerline/blob/bd84cd240ed1ddda8d558079f96d6a47d21206fd/tests/test_shells/run_script.py#L52-L67). Zsh version is 5.2. Any ideas what may be the reason?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author