📄 zped.h
字号:
#ifndef _ZPED_H_
#define _ZPED_H_
#include <curses.h>
#define MINV(a,b) (a > b) ? b : a
#define MIN_EDITOR_ROWS 3
#define FKEY_ESC '\x1B'
#define FKEY_ENTER 13
#define ARRAYLEN 7
#define MAXSIZE 128
#define MAXLENGTH 100
/*the struct of the colum node*/
typedef struct colNode {
char ch;
struct colNode * pre;
struct colNode * next;
} Cnode;
/*the struct of the row node*/
typedef struct rowNode {
int num;
struct colNode * rowHead;
struct rowNode * pre;
struct rowNode * next;
} Rnode;
/*the struct of the buffer node*/
typedef struct bufferNode {
struct bufferNode * next;
char buf[MAXSIZE];
} Bnode;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -