summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-21 19:44:58 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-21 19:44:58 +0800
commit8649e4efe65373700682ff66e3cbff8b09fcabec (patch)
tree3da8cf7cc71ec4cee7b7b6dc0989e6522bf81082 /include/proto.h
parentd8c5911d4d9575e87ff3cdcfd52533d7feabad8c (diff)
downloadpttbbs-8649e4efe65373700682ff66e3cbff8b09fcabec.tar
pttbbs-8649e4efe65373700682ff66e3cbff8b09fcabec.tar.gz
pttbbs-8649e4efe65373700682ff66e3cbff8b09fcabec.tar.bz2
pttbbs-8649e4efe65373700682ff66e3cbff8b09fcabec.tar.lz
pttbbs-8649e4efe65373700682ff66e3cbff8b09fcabec.tar.xz
pttbbs-8649e4efe65373700682ff66e3cbff8b09fcabec.tar.zst
pttbbs-8649e4efe65373700682ff66e3cbff8b09fcabec.zip
- add outstr() to output complete (DBCS-aware) non-ANSI string (non-functional in old screen but works in pfterm)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3719 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h
index c0e5a134..916de0f4 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -579,7 +579,8 @@ void scr_dump (screen_backup_t *buf);
void scr_restore(const screen_backup_t *buf);
// non-curses
void outc(unsigned char ch);
-void outs(const char *str);
+void outs(const char *s);
+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);
void region_scroll_up(int top, int bottom);