From: Chet Ramey Date: Mon, 14 Apr 2014 20:37:01 +0000 (-0400) Subject: Readline-6.3 patch 4 X-Git-Tag: readline-7.0-alpha~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1abb2c1b882a5f6cd40b4a2e7608be4ef1d0216e;p=thirdparty%2Freadline.git Readline-6.3 patch 4 --- diff --git a/display.c b/display.c index 913e0da..dccfdc7 100644 --- a/display.c +++ b/display.c @@ -2677,7 +2677,8 @@ _rl_clean_up_for_exit () { if (_rl_echoing_p) { - _rl_move_vert (_rl_vis_botlin); + if (_rl_vis_botlin > 0) /* minor optimization plus bug fix */ + _rl_move_vert (_rl_vis_botlin); _rl_vis_botlin = 0; fflush (rl_outstream); rl_restart_output (1, 0); diff --git a/patchlevel b/patchlevel index ce3e355..626a945 100644 --- a/patchlevel +++ b/patchlevel @@ -1,3 +1,3 @@ # Do not edit -- exists only for use by patch -3 +4