Changeset 7778 for lang/actionscript
- Timestamp:
- 03/11/08 00:56:39 (5 years ago)
- Location:
- lang/actionscript/FxTerm/trunk/org/partty
- Files:
-
- 2 modified
-
Terminal.as (modified) (1 diff)
-
mxml/Terminal.as (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/actionscript/FxTerm/trunk/org/partty/Terminal.as
r7767 r7778 283 283 { 284 284 resize(cols, n); 285 } 286 287 /** 288 * Clear whole screen 289 */ 290 public function clear():void 291 { 292 var screen:Array = _screen; 293 var lineDirty:Array = _lineDirty; 294 curattr = attrReset(); 295 for(var r:uint = 0; r < rows; ++r) { 296 lineDirty[r] = true; 297 clearScreenRow(screen[r], curattr); 298 299 } 285 300 } 286 301 -
lang/actionscript/FxTerm/trunk/org/partty/mxml/Terminal.as
r7767 r7778 79 79 public function clear():void 80 80 { 81 // FIXME 82 _term.writeByte(0x1b); 83 _term.writeByte(0x5b); 84 _term.writeByte(0x48); 85 _term.writeByte(0x1b); 86 _term.writeByte(0x5b); 87 _term.writeByte(0x32); 88 _term.writeByte(0x4a); 81 _term.clear(); 89 82 refresh(); 90 83 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)