From ba58bfe4bfa16e756c8f38cfa0e992ad38b00856 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sat, 8 Feb 2014 14:49:39 -0800 Subject: 32365: another stab at the heuristic for initializing rprompt_indent --- Src/Zle/zle_refresh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/zle_refresh.c') 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 */ -- cgit 1.4.1