diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-24 20:19:07 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-24 20:19:07 +0800 |
commit | ff7897f3bf68a25867e89114c44bbbe45d6e1231 (patch) | |
tree | 67aaf3984e88c778baa4d4b1fa78a40d3b1c9084 /docs | |
parent | 60e6c6cd3f3a648a1f76f7c18d922dacabbb3b4c (diff) | |
download | pttbbs-ff7897f3bf68a25867e89114c44bbbe45d6e1231.tar pttbbs-ff7897f3bf68a25867e89114c44bbbe45d6e1231.tar.gz pttbbs-ff7897f3bf68a25867e89114c44bbbe45d6e1231.tar.bz2 pttbbs-ff7897f3bf68a25867e89114c44bbbe45d6e1231.tar.lz pttbbs-ff7897f3bf68a25867e89114c44bbbe45d6e1231.tar.xz pttbbs-ff7897f3bf68a25867e89114c44bbbe45d6e1231.tar.zst pttbbs-ff7897f3bf68a25867e89114c44bbbe45d6e1231.zip |
pfterm:
- add endwin() to shutdown and free resource.
- prevent initial zeros.
- better prediction on move.
- enable reprint optimization
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3735 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pfterm.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/pfterm.txt b/docs/pfterm.txt index 83416d73..2d742767 100644 --- a/docs/pfterm.txt +++ b/docs/pfterm.txt @@ -6,8 +6,8 @@ API Manual 函式說明手冊 - VERSION 1.0 - 最後更新: 2007/12/23 18:00 piaip + VERSION 1.1 + 最後更新: 2007/12/24 18:00 piaip ============================================================================= @@ -33,6 +33,7 @@ // initialization 初始化 void initscr (void); 初始系統 int resizeterm (int rows, int cols); 調整視窗大小為(rows,col) +int endwin (void); 結束系統 // cursor 游標 void getyx (int *y, int *x); 取得目前游標位置 @@ -53,7 +54,7 @@ void clrregion (int r1, int r2); 清除[r1,r2]或[r2,r1]的範圍 (雙向) // flushing 更新畫面 void refresh (void); 更新畫面 (只送出改變的部份) -void redrawwin (void); 強制更新畫面 (全部重畫) +void redrawwin (void); 強制下次更新全部畫面(仍需 refresh) // scrolling 捲動 void scroll (void); 向上捲動一行 |