void __VT_backspace(void* SPtr, unsigned n)
This deletes n characters underneath the cursor and to the left of the cursor (towards the beginning of the line).
For @subheading example , if n is 1, it will delete the character under the cursor and move to the left by one character.
It does not wrap around.
__VT_clreol() (see section __VT_clreol)
void __VT_chide(void* SPtr)
Hides the cursor
__VT_cshow() (see section __VT_cshow)
void __VT_clreol(void *SPtr)
This clears all of the characters from the current cursor location to the end of the line.
__VT_backspace() (see section __VT_backspace)
void __VT_cshow(void* SPtr)
Makes the cursor visible again
__VT_chide() (see section __VT_chide)
void __VT_currest(void* SPtr)
This restores the previous state of the cursor:
(Saves and restores can not be nested at this time)
void __VT_cursave(void* SPtr)
This save the current state of the cursor:
void __VT_init (void *SPtr)
This routine is used to set up any neccessary structures for the virtual terminal.
void __VT_ins(void* SPtr,unsigned n)
Insert n spaces to the right of the cursor
void __VT_label_destroy(__VT_label_t* Ptr)
Frees all of Ptr's resources.
__VT_label_t* __VT_label_new(const char* FirstStr)
If FirstStr is defined, it will be printed to the label.
NULL on error, otherwise a pointer to the label item
void __VT_label_text(__VT_label_t* VPtr, const char *s)
Prints a message to the label pointed to by VPtr.
void __VT_reset(void* SPtr)
This resets the virtual terminal to its initial settings, including the scrolling region, cursor visibility, color palette, and clears the screen.
void __VT_scrollreset(void* SPtr)
Resets the scrolling region. The scrolling region will be set from the top of the display window to the bottom of the display window.
void __VT_scrreg(void* SPtr, int top, int bot)
Set the scrolling region for the window. If bot is -1, then the bottom will be set to the bottom of the window.