File tree 1 file changed +6
-12
lines changed
1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -1442,26 +1442,18 @@ static void msg(const char *message)
1442
1442
fprintf (stderr , "%s\n" , message );
1443
1443
}
1444
1444
1445
- static void clearinfoln (void )
1446
- {
1447
- move (xlines - 2 , 0 );
1448
- clrtoeol ();
1449
- }
1450
-
1451
1445
#ifdef KEY_RESIZE
1452
1446
static void handle_key_resize (void )
1453
1447
{
1454
1448
endwin ();
1455
1449
refresh ();
1456
1450
}
1457
1451
1458
- /* Clear the old prompt */
1452
+ /* Clear the old prompt from the info line to the botton of the screen */
1459
1453
static void clearoldprompt (void )
1460
1454
{
1461
- clearinfoln ();
1462
-
1463
- tolastln ();
1464
- clrtoeol ();
1455
+ move (xlines - 2 , 0 );
1456
+ clrtobot ();
1465
1457
handle_key_resize ();
1466
1458
}
1467
1459
#endif
@@ -3578,7 +3570,9 @@ static int filterentries(char *path, char *lastname)
3578
3570
showfilter (ln );
3579
3571
}
3580
3572
end :
3581
- clearinfoln ();
3573
+ /* Clear the info line after the down arrow */
3574
+ move (xlines - 2 , 2 );
3575
+ clrtoeol ();
3582
3576
3583
3577
/* Save last working filter in-filter */
3584
3578
if (ln [1 ])
You can’t perform that action at this time.
0 commit comments