diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2014-02-08 14:49:39 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2014-02-08 14:49:39 -0800 |
commit | ba58bfe4bfa16e756c8f38cfa0e992ad38b00856 (patch) | |
tree | 51cdfaacc86014d7cf321075e8366f9f4d47325b /Src/Zle/zle_refresh.c | |
parent | 045b2418bd9b564001d815f1167f0c8ee3786d32 (diff) | |
download | zsh-ba58bfe4bfa16e756c8f38cfa0e992ad38b00856.tar.gz zsh-ba58bfe4bfa16e756c8f38cfa0e992ad38b00856.tar.xz zsh-ba58bfe4bfa16e756c8f38cfa0e992ad38b00856.zip |
32365: another stab at the heuristic for initializing rprompt_indent
Diffstat (limited to 'Src/Zle/zle_refresh.c')
-rw-r--r-- | Src/Zle/zle_refresh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index fd5485770..2bedbc492 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -977,7 +977,7 @@ zrefresh(void) int tmpalloced; /* flag to free tmpline when finished */ int remetafy; /* flag that zle line is metafied */ int txtchange; /* attributes set after prompts */ - int rprompt_off; /* Offset of rprompt from right of screen */ + int rprompt_off = 1; /* Offset of rprompt from right of screen */ struct rparams rpms; #ifdef MULTIBYTE_SUPPORT int width; /* width of wide character */ |