aboutsummaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index 350a60c..3c61f01 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -150,6 +150,9 @@ void scr_show_status(char s) {
case SCR_ACTIVE: /* color1 */
sc |= 0x40;
break;
+ case SCR_OTHER: /* color2 */
+ sc |= 0x80;
+ break;
case SCR_HILITE: /* color3 */
sc |= 0xc0;
break;
@@ -168,11 +171,13 @@ void scr_show_status(char s) {
}
}
+/*
void scr_hilite_active(void) {
if(scr_active == scr_current) return;
scr_status[scr_active] = SCR_HILITE;
scr_show_status(scr_current);
}
+*/
void scr_refresh(void) {
scr_display(scr_current);
@@ -286,10 +291,12 @@ void scr_print_priv(const char *text) {
}
void scr_activate(char s) {
+ /*
if(s != scr_current) {
if(scr_status[s] != SCR_HILITE) scr_status[s] = SCR_ACTIVE;
scr_show_status(scr_current);
}
+ */
scr_active = s;
}