lines.h
来自「dtelent是开源的开发项目」· C头文件 代码 · 共 35 行
H
35 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?