comp.lang.ada
 help / color / mirror / Atom feed
From: "Carl Bauman" <cbauman@impulse.net>
Subject: Re: Can I overwrite existing text w/o clearing the screen?
Date: 1998/11/17
Date: 1998-11-18T02:59:22+00:00	[thread overview]
Message-ID: <72td6a$f9v$2@sienna.impulse.net> (raw)
In-Reply-To: 3650f8a9.0@silver.truman.edu


Josh Highley wrote in message <3650f8a9.0@silver.truman.edu>...
>I've wrote a task to output the time.  I want to continually update the
>time every second in the lower right hand corner of the screen without
>causing a new line and without clearing the entire screen.  I've tried
>set_col and set_line but it causes a new line.  I've been successful
>using AdaGraph v0.5 but its other input and output operations are very
>limited.  Basically, can I overwrite existing text without clearing the
>entire screen or causing a new line?  Hopefully, still having Ada's
>input and output commands still available.
>
How close to the right are you writing?  If your output is designed to place
the last digit in column 80, the cursor will end up in column 81, which is
off the screen and *seems* to make a NL, but really is a wrap-around.  If
this is the case, try writing starting one column to the left.

-CB








  reply	other threads:[~1998-11-17  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-17  0:00 Can I overwrite existing text w/o clearing the screen? Josh Highley
1998-11-17  0:00 ` Carl Bauman [this message]
1998-11-17  0:00 ` John McCabe
1998-11-18  0:00 ` Rory
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox