|
From: | Christer Enfors |
Subject: | filter() + refresh() clears the screen below cursor |
Date: | Thu, 15 Mar 2007 15:06:40 +0100 |
User-agent: | Thunderbird 1.5.0.10 (Windows/20070221) |
I have a script that puts the cursor on a specific row on the screen.Then I have my program (called instring), which displays a form with a single input field on a specified column on that row. I'm using filter() (and newterm() connected to /dev/tty) in my program, to avoid clearing the screen when the program starts.
Now, my problem is, that as soon as I call refresh(), the entire screen *below* (and including, I think) the current line is cleared. I don't want it to do that. Is there some way I can get around that?
Would it work to open a 1-line window for my form, and only wrefresh() that window (and never call refresh())? Would that prevent the rest of the screen from being cleared?
Sorry about all these questions, but this program is part of a release that's scheduled for Tuesday, and I don't have time to spend on being stuck.
-- Christer Enfors
[Prev in Thread] | Current Thread | [Next in Thread] |