small changes

This commit is contained in:
2024-08-07 00:07:44 +02:00
parent e745b27a68
commit 4de2720bed
3 changed files with 22 additions and 14 deletions

View File

@@ -2,14 +2,11 @@
#define _CHVTH_
#include <fcntl.h>
#include <stdio.h>
#include <linux/kd.h>
#include <linux/vt.h>
#include <sys/ioctl.h>
#include <unistd.h>
#define KDGKBTYPE 0x4b33
#define VT_ACTIVATE 0x5606
#define VT_WAITACTIVE 0x5607
/**
* @brief change foreground virtual terminal to `n`
*