Show
Ignore:
Timestamp:
02/29/08 21:15:14 (5 years ago)
Author:
frsyuki
Message:

lang/actionscript/FxTerm: fixed new line behavior

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/actionscript/FxTerm/trunk/Telnet.as

    r7237 r7300  
    8181                        _socket.writeByte(value); 
    8282                } 
     83                _socket.flush(); 
    8384        } 
    8485 
     
    8687                if( !_active ) { return; } 
    8788                _socket.writeBytes(bytes, offset, length); 
     89                _socket.flush(); 
    8890                // FIXME convert IAC to IAC IAC 
    8991        } 
     
    9698        private function closeHandler(event:Event):void 
    9799        { 
    98                 _socket.close(); 
    99                 _active = false; 
     100                close(); 
    100101                dispatchEvent(event); 
    101102        } 
     
    103104        private function ioErrorHandler(event:IOErrorEvent):void 
    104105        { 
    105                 _socket.close(); 
    106                 _active = false; 
     106                close(); 
    107107                dispatchEvent(event); 
    108108        } 
     
    110110        private function securityErrorHandler(event:SecurityErrorEvent):void 
    111111        { 
    112                 _socket.close(); 
    113                 _active = false; 
     112                close(); 
    114113                dispatchEvent(event); 
    115114        }