mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
Add save/unsave cursor escape sequences.
Also added a little terminal test program called /bin/tst.
This commit is contained in:
parent
ea6221dd06
commit
43475f248b
6 changed files with 41 additions and 5 deletions
11
Userland/tst.cpp
Normal file
11
Userland/tst.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include <LibC/stdio.cpp>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
printf("Counting to 100000: \033[s");
|
||||
for (unsigned i = 0; i <= 100000; ++i) {
|
||||
printf("\033[u\033[s%u", i);
|
||||
}
|
||||
printf("\n");
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue