+ // If writing with the cursor on righthand edge, wrap down to next line
+ // TODO: Wrap to same line?
+ if( wrpos->Col >= Term->TextWidth )
+ {
+ ASSERTC(wrpos->Col, <=, Term->TextWidth);
+ VT_int_UpdateScreen( Term, 0 );
+ //wrpos->Row ++;
+ wrpos->Col = 0;
+ }