diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-10 14:33:16 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-10 14:33:16 +0800 |
commit | af72ae1e0a95561a00e0980650b4f2bf32201ba2 (patch) | |
tree | f74afcafedfaaf32dfac9c45cc4378f6c7497bd9 /include | |
parent | 084b0114a3e74ffddf1b1d71f5396317a2bbc90f (diff) | |
download | pttbbs-af72ae1e0a95561a00e0980650b4f2bf32201ba2.tar pttbbs-af72ae1e0a95561a00e0980650b4f2bf32201ba2.tar.gz pttbbs-af72ae1e0a95561a00e0980650b4f2bf32201ba2.tar.bz2 pttbbs-af72ae1e0a95561a00e0980650b4f2bf32201ba2.tar.lz pttbbs-af72ae1e0a95561a00e0980650b4f2bf32201ba2.tar.xz pttbbs-af72ae1e0a95561a00e0980650b4f2bf32201ba2.tar.zst pttbbs-af72ae1e0a95561a00e0980650b4f2bf32201ba2.zip |
- terminal: add newwin()
- pfterm: fix some bounadry checkings of x range
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3812 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h index 28f1135b..8ac63aa5 100644 --- a/include/proto.h +++ b/include/proto.h @@ -580,6 +580,7 @@ void clear (void); void clrtoeol (void); void clrtobot (void); void clrtoln (int ln); +void newwin (int nlines, int ncols, int y, int x); void refresh (void); void doupdate (void); void redrawwin (void); @@ -592,6 +593,7 @@ void scr_restore(const screen_backup_t *buf); // non-curses void outc(unsigned char ch); void outs(const char *s); +void outns(const char *str, int n); void outstr(const char *str); // prepare and print a complete non-ANSI string. int inansistr(char *str, int n); void move_ansi(int y, int x); |