summaryrefslogtreecommitdiffstats
path: root/mbbsd/screen.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-11 01:54:47 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-11 01:54:47 +0800
commitdda5af373350d4b6649335e4ec8600a0baf2afe7 (patch)
tree6c09cb2515b2731fed79d66ceb5673279549523f /mbbsd/screen.c
parente2b3b3e420075b9b0e61c01eac86b98810976c69 (diff)
downloadpttbbs-dda5af373350d4b6649335e4ec8600a0baf2afe7.tar
pttbbs-dda5af373350d4b6649335e4ec8600a0baf2afe7.tar.gz
pttbbs-dda5af373350d4b6649335e4ec8600a0baf2afe7.tar.bz2
pttbbs-dda5af373350d4b6649335e4ec8600a0baf2afe7.tar.lz
pttbbs-dda5af373350d4b6649335e4ec8600a0baf2afe7.tar.xz
pttbbs-dda5af373350d4b6649335e4ec8600a0baf2afe7.tar.zst
pttbbs-dda5af373350d4b6649335e4ec8600a0baf2afe7.zip
screen.c: edit_out should be managed by edit.c
pmore.c: eliminate nofmt (replaced by other modes) and 0xff header fix edit.c: broken dbcs support git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2823 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/screen.c')
-rw-r--r--mbbsd/screen.c26
1 files changed, 3 insertions, 23 deletions
diff --git a/mbbsd/screen.c b/mbbsd/screen.c
index 951cc1fc..175921f1 100644
--- a/mbbsd/screen.c
+++ b/mbbsd/screen.c
@@ -357,29 +357,6 @@ outc(unsigned char c)
#endif
}
-/**
- * Just like outs, but print out '*' instead of 27(decimal) in the given string.
- *
- * FIXME column could not start from 0
- */
-void
-edit_outs(const char *text)
-{
- register int column = 0;
- register char ch;
- while ((ch = *text++) && (++column < t_columns))
- outc(ch == 27 ? '*' : ch);
-}
-
-void
-edit_outs_n(const char *text, int n)
-{
- register int column = 0;
- register char ch;
- while ((ch = *text++) && n-- && (++column < t_columns))
- outc(ch == 27 ? '*' : ch);
-}
-
void
outs(const char *str)
{
@@ -540,3 +517,6 @@ void screen_restore(int len, screenline_t *bp, const void *buf)
offset+=bp[i].len;
}
}
+
+/* vim:tw=4
+ */