Added draw menu, vars and additional functions needed for it
Added some functionality to the procdump to show the current console and parent pids of processes for debugging Added var to clearconsole that enables the internal lock if one wasnt prelocked before hand Fixed issue where race conditions would stop the title from drawing by drawing it to the buffer too Fixed issue where the maze function was spamming the conswrite and cons lock by changing it to send an entire line instead of 1 char at a time
This commit is contained in:
5
defs.h
5
defs.h
@ -32,13 +32,14 @@ int closeconsole(void);
|
||||
// Function to get the current inuse console index
|
||||
int getcurrentconsoleindex(void);
|
||||
// Function to clear the current screen buffer
|
||||
void clearscreen(void);
|
||||
void clearscreen(int);
|
||||
// Function to get the base consoles ptr
|
||||
struct vconsole* getbaseconsoleptr(void);
|
||||
// Function to provide cprintf functionality but saved into a char array
|
||||
void sprintf(char*, char*, ...);
|
||||
void setconsoleproctitle(struct vconsole* consoleptr, char* newtitle);
|
||||
void drawtitle();
|
||||
//void drawtitle();
|
||||
int getconsoleindex(struct vconsole* consolein);
|
||||
|
||||
// exec.c
|
||||
int exec(char*, char**);
|
||||
|
Reference in New Issue
Block a user