|
@@ -30,15 +30,15 @@ import (
|
|
|
"time"
|
|
|
)
|
|
|
|
|
|
-const CRNL = "\r\n" // BBS Line Ending
|
|
|
-const Clrscr = "\x1b[2J\x1b[H" // Clear screen, home cursor
|
|
|
-var Reset string = Color(0) // ANSI Color Reset
|
|
|
-var Unicode bool // Unicode support detected
|
|
|
-var CP437 bool // CP437 support detected
|
|
|
-var Full_CP437 bool // Full CP437 support detected (handles control codes properly)
|
|
|
-var Height int // Screen height detected
|
|
|
-var Width int // Screen width detected
|
|
|
-var Inactivity int64 = 120 // Inactivity timeout
|
|
|
+const CRNL = "\r\n" // BBS Line Ending
|
|
|
+const Clrscr = "\x1b[0m\x1b[2J\x1b[H" // Clear screen, home cursor
|
|
|
+var Reset string = Color(0) // ANSI Color Reset
|
|
|
+var Unicode bool // Unicode support detected
|
|
|
+var CP437 bool // CP437 support detected
|
|
|
+var Full_CP437 bool // Full CP437 support detected (handles control codes properly)
|
|
|
+var Height int // Screen height detected
|
|
|
+var Width int // Screen width detected
|
|
|
+var Inactivity int64 = 120 // Inactivity timeout
|
|
|
|
|
|
/*
|
|
|
door32.sys:
|