📄 misc.h
字号:
void error (const char *fmt, ...) __attribute__((format(printf,1,2))) __attribute__((noreturn));unsigned hash_str( char *key);int countChar(const char *s, int c);int longestLine (const char *s);const char *one_argument (const char *argument, char *buf, bool smash_case);void report(const char *fmt, ...) __attribute__((format(printf,1,2)));;const char * versionToString(int version);// Takes an ansi code, outputs color changesclass ColorConverter {public: ColorConverter(); int convert(const byte *s, int size); const char *convertString(const char *s); bool checkReportStatus() { if (fReport) { fReport = true; return true; } else return false; } private: bool fBold, fReport; int last_fg, last_bg;};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -