From 4c256182f70ad244e0ec40af45c0c0857abb0a01 Mon Sep 17 00:00:00 2001 From: piaip Date: Sat, 1 Dec 2007 10:01:51 +0000 Subject: - 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 --- include/proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/proto.h') 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); -- cgit v1.2.3