- Expose ConsoleState to scripts

- Make ConsoleState uint8_t sized
This commit is contained in:
nashmuhandes 2022-07-16 18:13:53 +08:00 committed by Christoph Oelckers
commit c6ae73d6d2
5 changed files with 17 additions and 7 deletions

View file

@ -104,7 +104,9 @@ bool vidactive = false;
bool cursoron = false;
int ConBottom, ConScroll, RowAdjust;
uint64_t CursorTicker;
constate_e ConsoleState = c_up;
uint8_t ConsoleState = c_up;
DEFINE_GLOBAL(ConsoleState)
static int TopLine, InsertLine;