diff --git a/fish_pager.c b/fish_pager.c index 4fea0da73..533bc0f8b 100644 --- a/fish_pager.c +++ b/fish_pager.c @@ -708,11 +708,14 @@ static int completion_try_print( int cols, set_color( FISH_COLOR_BLACK, get_color(HIGHLIGHT_PAGER_PROGRESS) ); sb_printf( &msg, - _(L" %d to %d of %d \r"), + _(L" %d to %d of %d"), pos, pos+termsize.ws_row-1, rows ); + sb_printf( &msg, + L" \r" ); + writestr((wchar_t *)msg.buff); sb_destroy( &msg ); set_color( FISH_COLOR_NORMAL, FISH_COLOR_NORMAL );