📄 lines.h
字号:
/* lines.h
* Copyright (c) 1997 David Cole
*
* Manage line array for terminal with history
*/
#ifndef __lines_h
#define __lines_h
/* Return the specified line */
Line* linesGetLine(int num);
/* Add a new line to the bottom of the line array. */
void linesNewLine(void);
/* Make sure that lines exist up to the specified line array index. */
void linesCreateTo(int idx);
/* Return the line array index of the specified terminal line. */
int linesTerminalToLine(int posy);
/* Insert a number of lines at the specified terminal line. */
void linesInsert(int posy, int bottom, int numLines);
/* Insert a number of blank characters in the specified terminal line. */
void linesCharsInsert(int posy, int posx, int numChars);
/* Delete a number of lines at the specified terminal line. */
void linesDelete(int posy, int bottom, int numLines);
/* Delete a number of characters in the specified terminal line. */
void linesCharsDelete(int posy, int posx, int numChars);
/* Clear all of the text in the terminal between two locations. */
void linesClearRange(int y1, int x1, int y2, int x2);
/* Set the character at the current cursor position. */
void linesSetChar(const DtChar *dCh);
/* Fill the screen with 'E' for alignment test */
void linesAlignTest(void);
/* Switch to/from inverse video */
void linesInvertAll(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -