for( i = 0; i < NUM_VTS; i++ )
{
gVT_Terminals[i].Mode = TERM_MODE_TEXT;
-// gVT_Terminals[i].Flags = 0;
- gVT_Terminals[i].Flags = VT_FLAG_HIDECSR; //HACK - Stop all those memcpy calls
+ gVT_Terminals[i].Flags = 0;
+// gVT_Terminals[i].Flags = VT_FLAG_HIDECSR; //HACK - Stop all those memcpy calls
gVT_Terminals[i].CurColour = DEFAULT_COLOUR;
gVT_Terminals[i].WritePos = 0;
gVT_Terminals[i].AltWritePos = 0;
Mutex_Acquire( &term->ReadingLock );
- // Update cursor
- VT_int_UpdateCursor(term, 1);
-
// Check current mode
switch(term->Mode)
{
// Text Mode (UTF-8)
case TERM_MODE_TEXT:
+ VT_int_UpdateCursor(term, 1);
+
VFS_SelectNode(Node, VFS_SELECT_READ, NULL, "VT_Read (UTF-8)");
avail = term->InputWrite - term->InputRead;
{
tmp = (char**)Regs->Arg3;
CHECK_NUM_NONULL(tmp, sizeof(char**));
- Log("tmp = %p", tmp);
for(i=0;tmp[i];i++) {
CHECK_NUM_NONULL( &tmp[i], sizeof(char*) );
CHECK_STR_NONULL( tmp[i] );