📄 command.h
字号:
/* Maximum number of arguments in a command line:*/
#define CMDLINESIZE 280
#define ARGCNT 8
#define CMD_SUCCESS 0
#define CMD_FAILURE -1
#define CMD_PARAM_ERROR -2
#define CMD_LINE_ERROR -3
#define CMD_ULVL_DENIED -4
#define CMD_NOT_FOUND -5
#define CMD_PREFILL -6
extern CODE struct monCommand cmdlist[];
#define CTLC 0x03 /* control-c */
char sio_getc(void);
/* Command table structure used by the monitor:
*/
struct monCommand {
char *name; /* Name of command seen by user. */
int (*func)(int, char**); /* Function called when command is invoked. */
char CODE * CODE *helptxt; /* Help text (see notes below). */
struct cliextra *clix; /* Pointer to "extras" that may or may not be */
/* used by a specific command. */
};
void CommandLoop(void);
extern char CODE * CODE ErrorInfo[];
int docommand(char *cmdline);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -