mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2025-01-02 16:31:38 +00:00
80-column updates.
git-svn-id: svn://qnap.local/TwoTerm/branches/backlight@3145 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
parent
0203a3f895
commit
6cd1025a9e
@ -6,6 +6,13 @@
|
|||||||
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
/*
|
||||||
|
* See Apple IIe Tech Ref page 273.
|
||||||
|
* See Apple IIgs Firmware Reference page 77
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
#import "Apple80.h"
|
#import "Apple80.h"
|
||||||
|
|
||||||
#include <sys/ttydefaults.h>
|
#include <sys/ttydefaults.h>
|
||||||
@ -130,9 +137,17 @@ enum {
|
|||||||
screen->setFlagBit(Screen::FlagInverse);
|
screen->setFlagBit(Screen::FlagInverse);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case CTRL('Q'):
|
||||||
|
// 40 column mode.
|
||||||
|
break;
|
||||||
|
|
||||||
case CTRL('R'):
|
case CTRL('R'):
|
||||||
// 80 column mode
|
// 80 column mode
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case CTRL('S'):
|
||||||
|
// stop listing until another key pressed.
|
||||||
|
break;
|
||||||
|
|
||||||
case CTRL('U'):
|
case CTRL('U'):
|
||||||
// deactivate 80 column firmware
|
// deactivate 80 column firmware
|
||||||
@ -157,11 +172,16 @@ enum {
|
|||||||
// cursor home
|
// cursor home
|
||||||
screen->setCursor(0, 0, true, true);
|
screen->setCursor(0, 0, true, true);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CTRL('Z'):
|
case CTRL('Z'):
|
||||||
// clear entire line
|
// clear entire line
|
||||||
screen->erase(Screen::EraseLineAll);
|
screen->erase(Screen::EraseLineAll);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case CTRL('['):
|
||||||
|
// mouse text on
|
||||||
|
screen->setFlagBit(Screen::FlagMouseText);
|
||||||
|
break;
|
||||||
|
|
||||||
|
|
||||||
case CTRL('\\'):
|
case CTRL('\\'):
|
||||||
|
Loading…
Reference in New Issue
Block a user