I organized output to the console, but made it quite inconvenient, the
screen is cleared, get the data, and so the loop. Is it possible to
update only the place that changed the meaning. The problem I have is
that the data received from the Internet, and not very fast. It turns
out that the passes clear the screen, the screen is empty, after a few
seconds of data is displayed, it is not convenient.
On 08/16/2013 07:27 AM, gotostereo … wrote:
I organized output to the console, but made it quite inconvenient, the
screen is cleared, get the data, and so the loop. Is it possible to
update only the place that changed the meaning. The problem I have is
that the data received from the Internet, and not very fast. It turns
out that the passes clear the screen, the screen is empty, after a few
seconds of data is displayed, it is not convenient.
Although it will be a big step up in complexity, you probably want
curses:
-Justin
On Aug 16, 2013, at 9:27 AM, gotostereo … [email protected] wrote:
I organized output to the console, but made it quite inconvenient, the
screen is cleared, get the data, and so the loop. Is it possible to
update only the place that changed the meaning. The problem I have is
that the data received from the Internet, and not very fast. It turns
out that the passes clear the screen, the screen is empty, after a few
seconds of data is displayed, it is not convenient.–
Posted via http://www.ruby-forum.com/.
It’s hard to help without seeing code.
What to choose ruby curses or ruby ncurses. Where can I see examples.
Very scanty information. If the language in all the examples, all
perfectly readable, then there is a single text (curses).
On Fri, Aug 16, 2013 at 4:27 PM, gotostereo … [email protected]
wrote:
I organized output to the console, but made it quite inconvenient, the
screen is cleared, get the data, and so the loop. Is it possible to
update only the place that changed the meaning. The problem I have is
that the data received from the Internet, and not very fast. It turns
out that the passes clear the screen, the screen is empty, after a few
seconds of data is displayed, it is not convenient.
The easiest solution seem to be not to mix data retrieval and display.
If
you first retrieve all the data before you do the clear and output the
screen should be blank for only a few milliseconds.
A more complex solution would involve checking the data and using
something
like ncurses to write data at specific positions on the screen. Even
then
you might want to separate retrieval from screen updates.
Kind regards
robert
On Sat, Aug 17, 2013 at 3:13 PM, gotostereo … [email protected]
wrote:
What to choose ruby curses or ruby ncurses. Where can I see examples.
Very scanty information. If the language in all the examples, all
perfectly readable, then there is a single text (curses).
Der Sinn Deiner Worte ist dunkel.
robert