Mercurial Hosting > harelet
view minibasediolib.h @ 5:3879c1178448
Automated Vimcurial commmit
author | VilyaemKenyaz |
---|---|
date | Fri, 08 Sep 2023 08:40:34 -0400 |
parents | 0ed615367b10 |
children |
line wrap: on
line source
//BasedIOLib without *nix conio implementation //Clear the screen like in the Temple! void DocClear(){ puts("\x1b[H\x1b[J"); } //Mova the cursor to the top of the screen like in the temple! void DocTop(){ puts("\033[2J"); } //Move the cursor to this line and column void SetCursor(int line, int column){ printf("\033[<%d>;<%d>f",line,column); } //Print the rest of a string given an indice void PutRest(char* ptr, int index){ ptr += index; puts(ptr); }