summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/screen.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/mbbsd/screen.c b/mbbsd/screen.c
index 74d434e1..8f54f6cc 100644
--- a/mbbsd/screen.c
+++ b/mbbsd/screen.c
@@ -441,12 +441,22 @@ outc(unsigned char c)
void
outs(const char *str)
{
+ if (!str)
+ return;
while (*str) {
outc(*str++);
}
}
void
+outstr(const char *str)
+{
+ // XXX TODO cannot prepare DBCS-ready environment?
+
+ outs(str);
+}
+
+void
scroll(void)
{
scrollcnt++;