title.c
来自「PocketCMD是与pocketconsole配合实用的命令行解释器(Shel」· C语言 代码 · 共 38 行
C
38 行
/* * title.c - title internal command. * * * History: * 1999-02-11 Emanuele Aliberti */#include "config.h"#ifdef INCLUDE_CMD_TITLE#include "cmd.h"INT cmd_title (LPTSTR cmd, LPTSTR param){ /* Do nothing if no args */ if (*param == _T('\0')) return 0; /* Asking help? */ if (!_tcsncmp(param, _T("/?"), 2)) { ConOutPuts (_T("Sets the window title for the command prompt window.\n") _T("\n") _T("TITLE [string]\n") _T("\n") _T(" string Specifies the title for the command prompt window.")); return 0; } return SetConsoleTitle (param);}#endif /* def INCLUDE_CMD_TITLE *//* EOF */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?