From cc20542941c67f8cdca5ef8baf545b191b97b1b2 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 23 Sep 2008 07:24:59 +0000 Subject: [PATCH] Clear screen before putting a menu in case we're in a mode with more than 24 lines. --- src/syncterm/ooii.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/syncterm/ooii.c b/src/syncterm/ooii.c index 18f5ebfd46..8516b1ec87 100644 --- a/src/syncterm/ooii.c +++ b/src/syncterm/ooii.c @@ -209,6 +209,7 @@ static void readInPix(char codeCh) { break; } + cterm_clearscreen(0); if (codeCh>='A' && codeCh<='E') { puttext(1, 1, 80, 24, (unsigned char *)ooii_cmenus+(fptr*4000)); } @@ -232,7 +233,7 @@ static int readInText(char *codeStr) { switch ((char)codeStr[0]) { case '1': cterm.attr=BROWN; - cterm_write("You mosey on over to the bar and take a seat on a scuffed 67. The\r\n", -1, NULL, 0, NULL); + cterm_write("You mosey on over to the bar and take a seat on a scuffed barstool. The\r\n", -1, NULL, 0, NULL); cterm_write("slighty deformed keeper grunts, \"Woth ja leeke?\" A galacticom on the top\r\n", -1, NULL, 0, NULL); cterm_write("shelf behind him translates his jumble into \"What would you like?\" You\r\n", -1, NULL, 0, NULL); cterm_write("start to wonder what ever happened to the old standard human language.\r\n\r\n", -1, NULL, 0, NULL); -- GitLab