diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2015-11-19 16:15:42 +0100 |
---|---|---|
committer | Mikael Magnusson <mikachu@gmail.com> | 2015-11-20 14:33:44 +0100 |
commit | ae0420c46a756116fc9a325596275701678d3485 (patch) | |
tree | 03db50a180c61835dd1e5f2ff3cbab0bab26a4cf /Src | |
parent | 4add5258834ffbbf3e26ef25195a90b6004ca0bf (diff) | |
download | zsh-ae0420c46a756116fc9a325596275701678d3485.tar.gz zsh-ae0420c46a756116fc9a325596275701678d3485.tar.xz zsh-ae0420c46a756116fc9a325596275701678d3485.zip |
37161: Disable the heuristic setting RPROMPT_INDENT to 0
Diffstat (limited to 'Src')
-rw-r--r-- | Src/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Src/init.c b/Src/init.c index 22db4b3b2..dcce1d7ce 100644 --- a/Src/init.c +++ b/Src/init.c @@ -790,8 +790,10 @@ init_term(void) tcstr[TCCLEARSCREEN] = ztrdup("\14"); tclen[TCCLEARSCREEN] = 1; } - /* This might work, but there may be more to it */ - rprompt_indent = ((hasam && !hasbw) || hasye || !tccan(TCLEFT)); + rprompt_indent = 1; + /* The following is an attempt at a heuristic, + * but it fails in some cases */ + /* rprompt_indent = ((hasam && !hasbw) || hasye || !tccan(TCLEFT)); */ } return 1; } |