⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cli_readline.h

📁 一个简单的小型操作系统
💻 H
字号:

/*****************************************************************************
 *
 * Module       : cli_readline.h
 * Descriptions : provides all readline functions
 * OS           : SLOS
 * Platform     : generic
 * History      :
 *
 * 16th November 2001 Andrew N. Sloss
 * - start adding comments
 *
 *****************************************************************************/

/* -- readLine ----------------------------------------------------------------
 *
 * Description : clear all the characters up to a position. This is the
 *               main interpreter loop for the command line.
 *
 * Parameters  : char *prompt - command line prompt.
 *             : char *buffer - the buffer 
 *             : int maxlen - maximum length
 * Return      : integer position
 * Notes       : none...
 *
 */

int readLine(char *prompt, char *buffer, int maxlen);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -