src/console/conio.c
static void asclrl(int pos, int width)
{
   int i;

   if (t_cl) {
       t_send(t_cl);                 /* use clear to eol function */
       return;
   }
   if (pos==1 && linsdel_ok) {
       t_delete_line();              /* delete line */
       t_insert_line();              /* reinsert it */
       return;
   }
   for (i=1; i<=width-pos+1; i++)
       t_char(' ');                  /* last resort, blank it out */
   for (i=1; i<=width-pos+1; i++)    /* backspace to original position */
       t_char(0x8);
   return;

}
/* ASCLRL() -- Clear to end of line from current position */
- Clear to end of line from current position
- Clear to end of line from current position
static void asclrl(int pos, int width)
{
   int i;
   if (t_cl) {
       t_send(t_cl);                 
       return;
   }
   if (pos==1 && linsdel_ok) {
       t_delete_line();              
       t_insert_line();              
       return;
   }
   for (i=1; i<=width-pos+1; i++)
       t_char(' ');                  
   for (i=1; i<=width-pos+1; i++)    
       t_char(0x8);
   return;
}
static void asclrl ( int pos , int width ) { int i ; if ( t_cl ) { t_send ( t_cl ) ; return ; } if ( pos == 1 && linsdel_ok ) { t_delete_line ( ) ; t_insert_line ( ) ; return ; } for ( i = 1 ; i <= width - pos + 1 ; i ++ ) t_char ( ' ' ) ; for ( i = 1 ; i <= width - pos + 1 ; i ++ ) t_char ( 0x8 ) ; return ; }
ASCLRL() -- Clear to end of line from current position
ASCLRL () -- Clear to end of line from current position
/* use clear to eol function */ /* delete line */ /* reinsert it */ /* last resort, blank it out */ /* backspace to original position */