From 54c48446e7d648898e238abdbf7161e5bf04cfa1 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Tue, 6 Mar 2018 23:12:32 +0900 Subject: [PATCH] Add cursor-off --- Makefile | 2 +- apps/cursor-off.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 apps/cursor-off.c diff --git a/Makefile b/Makefile index febff851..1df53d28 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -APPS=init hello sh ls terminal uname compositor drawlines background session kdebug cat yutani-test sysinfo hostname yutani-query env mount date echo nyancat kill ps pstree bim terminal-vga +APPS=init hello sh ls terminal uname compositor drawlines background session kdebug cat yutani-test sysinfo hostname yutani-query env mount date echo nyancat kill ps pstree bim terminal-vga cursor-off CC=i686-pc-toaru-gcc AR=i686-pc-toaru-ar diff --git a/apps/cursor-off.c b/apps/cursor-off.c new file mode 100644 index 00000000..0316ca8e --- /dev/null +++ b/apps/cursor-off.c @@ -0,0 +1,6 @@ +#include + +int main(int argc, char * argv[]) { + int x[] = {0xFF,0xFF}; + return syscall_system_function(13, (char **)x); +}