summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-01 18:01:51 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-01 18:01:51 +0800
commit4c256182f70ad244e0ec40af45c0c0857abb0a01 (patch)
treef2663fd39c9234b611a9d3fb8f01fcc3cecaf008 /include/proto.h
parentd2e9ddb320e18206dcb54e7d8476fdc73e489fa9 (diff)
downloadpttbbs-4c256182f70ad244e0ec40af45c0c0857abb0a01.tar
pttbbs-4c256182f70ad244e0ec40af45c0c0857abb0a01.tar.gz
pttbbs-4c256182f70ad244e0ec40af45c0c0857abb0a01.tar.bz2
pttbbs-4c256182f70ad244e0ec40af45c0c0857abb0a01.tar.lz
pttbbs-4c256182f70ad244e0ec40af45c0c0857abb0a01.tar.xz
pttbbs-4c256182f70ad244e0ec40af45c0c0857abb0a01.tar.zst
pttbbs-4c256182f70ad244e0ec40af45c0c0857abb0a01.zip
- add move_ansi() to support moving to lines with prior ANSI code.
- general improvement git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h
index bc4a2b08..25bcedd7 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -330,6 +330,7 @@ int oldgetdata(int line, int col, const char *prompt, char *buf, int len, int ec
void output(const char *s, int len);
int num_in_buf(void);
int ochar(int c);
+int strlen_noansi(const char *buf);
/* kaede */
int Rename(const char* src, const char* dst);
@@ -556,6 +557,7 @@ ChessInfo* reversi_replay(FILE* fp);
/* screen */
void mouts(int y, int x, const char *str);
void move(int y, int x);
+void move_ansi(int y, int x);
void outs(const char *str);
void outs_n(const char *str, int n);
void outslr(const char *left, int leftlen, const char *right, int rightlen);