Fixed correctness in stdio, minor changes in ls to handle dirs with negative sizes
[tpg/acess2.git] / Kernel / drv / vterm.c
index 304de69..1e7138d 100644 (file)
@@ -505,6 +505,8 @@ void VT_int_PutChar(tVTerm *Term, Uint32 Ch)
                        Term->Text[ Term->WritePos ].Colour = Term->CurColour;
                        Term->WritePos --;
                } while(Term->WritePos && i-- && Term->Text[ Term->WritePos ].Ch == '\0');
+               if(Term->Text[ Term->WritePos ].Ch != '\0')
+                       Term->WritePos ++;
                break;
        
        default:
@@ -601,10 +603,15 @@ int VT_Font_GetHeight(Uint32 Codepoint)
        return FONT_HEIGHT;
 }
 
+/**
+ * \fn void VT_Font_Render(Uint32 Codepoint, void *Buffer, Uint32 BGC, Uint32 FGC)
+ * \brief Render a font character
+ */
 void VT_Font_Render(Uint32 Codepoint, void *Buffer, Uint32 BGC, Uint32 FGC)
 {
-//     Uint8   *font;
-       
+       //Uint8 *font;
+       //Uint32        *buf = Buffer;
+       //font = VT_Font_GetChar(Codepoint);
 }
 
 /**

UCC git Repository :: git.ucc.asn.au