📄 console.c
字号:
/** @file console.c * @brief A console driver. * * These empty function definitions are provided * so that stdio will build without complaining. * You will need to fill these functions in. This * is the implementation of the console driver. * Important details about its implementation * should go in these comments. * * @author Harry Q. Bovik (hqbovik) * @author Fred Hacker (fhacker) * @bug No know bugs. */#include <console.h>#include <x86/pic.h>int putbyte( char ch ){ return ch;}void putbytes(const char* s, int len){ return;}void set_term_color( int c ){ return;}void get_term_color( int *c ){ return;}void set_cursor( int row, int col ){ return;}void get_cursor( int *row, int *col ){ return;}void hide_cursor(){ return;}void show_cursor(){ return;}void clear_console(){ return;}void draw_char( int row, int col, int ch, int color ){ return;}char get_char( int row, int col ){ return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -