📄 console.h
字号:
#ifndef __CONSOLE_H
#define __CONSOLE_H
#define KEY_BACKSPACE 0x08
#define KEY_ENTER 0x0d
#define KEY_ESC 0x1b
#define NULL AK_NULL
int console_init(void);
int console_write(char ch);
char console_read(void);
int kbhit(void);
char getch(void);
int putch(char ch);
int puts(const char *s);
void gets (char * buf, int n);
unsigned long getul(unsigned long def);
int printf(const char *s, ...);
int get_select(int min, int max);
#endif /* __CONSOLE_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -