Moved registration processing into Frame/Action
This commit is contained in:
@@ -24,26 +24,26 @@ class Ansi extends AbstractServer {
|
||||
define('CLS', ESC.'[2J');
|
||||
define('HASH', '#'); // Enter
|
||||
define('STAR', '*'); // Star Entry
|
||||
define('SPACE', ' '); // Space
|
||||
define('SPACE', ' '); // Space (for compatibility with Videotex)
|
||||
|
||||
// NOTE: This consts are effective output
|
||||
define('RED', ESC.'[0;31m'.SPACE);
|
||||
define('GREEN', ESC.'[0;32m'.SPACE);
|
||||
define('YELLOW', ESC.'[1;33m'.SPACE);
|
||||
define('BLUE', ESC.'[0;34m'.SPACE);
|
||||
define('MAGENTA', ESC.'[0;35m'.SPACE);
|
||||
define('CYAN', ESC.'[0;36m'.SPACE);
|
||||
define('WHITE', ESC.'[1;37m'.SPACE);
|
||||
define('RED', ESC.'[0;31m');
|
||||
define('GREEN', ESC.'[0;32m');
|
||||
define('YELLOW', ESC.'[1;33m');
|
||||
define('BLUE', ESC.'[0;34m');
|
||||
define('MAGENTA', ESC.'[0;35m');
|
||||
define('CYAN', ESC.'[0;36m');
|
||||
define('WHITE', ESC.'[1;37m');
|
||||
define('NEWBG', '');
|
||||
|
||||
// Raw attributes - used when storing frames.
|
||||
define('R_RED', RED);
|
||||
define('R_GREEN', GREEN);
|
||||
define('R_YELLOW', YELLOW);
|
||||
define('R_BLUE', BLUE);
|
||||
define('R_MAGENTA', MAGENTA);
|
||||
define('R_CYAN', CYAN);
|
||||
define('R_WHITE', WHITE);
|
||||
// Compatibility attributes (to Videotex).
|
||||
define('R_RED', RED.SPACE);
|
||||
define('R_GREEN', GREEN.SPACE);
|
||||
define('R_YELLOW', YELLOW.SPACE);
|
||||
define('R_BLUE', BLUE.SPACE);
|
||||
define('R_MAGENTA', MAGENTA.SPACE);
|
||||
define('R_CYAN', CYAN.SPACE);
|
||||
define('R_WHITE', WHITE.SPACE);
|
||||
//define('FLASH',chr(8));
|
||||
|
||||
// Keyboard presses
|
||||
|
Reference in New Issue
Block a user