delorie.com/archives/browse.cgi | search |
From: | "Graham Reeds" <grahamr AT dtn DOT ntl DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1001126080115 DOT 2925D-100000 AT is> |
Subject: | Re: Buffering text... |
Lines: | 39 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Message-ID: | <HJ3U5.12106$ea7.247266@news2-win.server.ntlworld.com> |
Date: | Sun, 26 Nov 2000 08:19:52 -0000 |
NNTP-Posting-Host: | 62.254.76.154 |
X-Complaints-To: | abuse AT ntlworld DOT com |
X-Trace: | news2-win.server.ntlworld.com 975226855 62.254.76.154 (Sun, 26 Nov 2000 08:20:55 GMT) |
NNTP-Posting-Date: | Sun, 26 Nov 2000 08:20:55 GMT |
Organization: | ntlworld News Service |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1001126080115 DOT 2925D-100000 AT is... > > Is there a way of repositioning the write position to the individual lines > > on the screen without disturbing the rest of the text? > > Yes, see the documentation of gotoxy() in the library reference. > ScreenSetCursor is another possibility. > Cheers, that's improved performance no end. Also I've found _setcursortype() to get rid of the flickery cursor! While browsing through conio.h for other helpful functions, I thought I'd 'funk' up my debug output by using colours. Libc-202 (is there a newer version??) says textcolor() would do just the job, yet when I try to colour some text with: ... default: textcolor(LIGHTRED); printf("\n\nERROR: UNKNOWN OUTPUT TYPE\n"); exit(1); break; ... Nothing happens. Even setting the normal text to an arbitrary colour doesn't work. Not important, but hey, it would make a dull black box with a dull grey text seem more interesting:-) -- Stay Lucky, Graham "Mournblade" Reeds. ICQ No.: 30514803 http://homepage.dtn.ntl.com/grahamr
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |