If we are in the main window and pos suddenly is not 'visible',
we need to jump to the new, visible, pos.
Signed-off-by: NeilBrown <neilb@suse.de>
if (visible(mode, ci.merger, &vispos) < 0)
prev_mline(&vispos, fm, fb, fa, ci.merger, mode);
-
+ if (!curs.alt)
+ pos= vispos;
retry:
draw_mline(mode, row, start, cols, fm, fb, fa, ci.merger,
vispos, (splitrow >= 0 && curs.alt) ? NULL : &curs);