Esempio n. 1
0
void
__ReadLine_AppendCharacterAndCursoRight ( ReadLiner * rl, byte c )
{
    __ReadLine_AppendCharacter ( rl, c ) ;
    _ReadLine_CursorRight ( rl ) ;
    _ReadLine_SetEndPosition ( rl ) ;
}
Esempio n. 2
0
void
ReadTable_C ( ReadLiner * rl ) // 'C' - ^[C = right arrow
{
    if ( rl->EscapeModeFlag == 2 )
    {
        rl->EscapeModeFlag = 0 ;
        if ( rl->CursorPosition >= rl->EndPosition )
        {
            __ReadLine_AppendCharacter ( rl, ( byte ) ' ' ) ;
        }
        ReadLine_DoCursorMoveInput ( rl, rl->CursorPosition + 1 ) ;
    }
    else ReadLine_SaveCharacter ( rl ) ;
}
Esempio n. 3
0
void
_ReadLine_AppendCharacter ( ReadLiner * rl )
{
    __ReadLine_AppendCharacter ( rl, rl->InputKeyedCharacter ) ;
}