📄 win32commandline.h
字号:
#ifndef __win32commandline_h__#define __win32commandline_h__#include <conio.h>#include <stdio.h>#include <stdlib.h> #include <windows.h> #include <assert.h>#include "..\..\commandline.h"class CWin32CommandLine : public CCommandLine{public: CWin32CommandLine(); ~CWin32CommandLine();public: virtual LispInt GetKey(); void ReadLineSub(LispCharPtr prompt); virtual void NewLine(); virtual void ShowLine(LispCharPtr prompt,LispInt promptlen,LispInt cursor); virtual void Pause(); // new functionality void color_print(const LispCharPtr str, WORD text_attrib); void color_read(LispCharPtr str, WORD text_attrib);protected:
void ShowLine(); LispCharPtr iLastPrompt;
private: HANDLE out_console; HANDLE in_console; bool _is_NT_or_later;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -