~ubuntu-branches/ubuntu/gutsy/irssi/gutsy-backports

« back to all changes in this revision

Viewing changes to src/fe-text/term-curses.c

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2007-11-19 10:49:04 UTC
  • mfrom: (6.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20071119104904-kzu9r9h7cq8as4ri
Tags: 0.8.12-2ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
14
    GNU General Public License for more details.
15
15
 
16
 
    You should have received a copy of the GNU General Public License
17
 
    along with this program; if not, write to the Free Software
18
 
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
16
    You should have received a copy of the GNU General Public License along
 
17
    with this program; if not, write to the Free Software Foundation, Inc.,
 
18
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
19
*/
20
20
 
21
21
#include "module.h"
23
23
 
24
24
#include "term.h"
25
25
#include "mainwindows.h"
26
 
#ifdef HAVE_CUIX
27
 
#include "cuix.h"
28
 
#endif
29
26
 
30
27
#include "term-curses.h"
31
28
 
352
349
 
353
350
void term_refresh(TERM_WINDOW *window)
354
351
{
355
 
#ifdef HAVE_CUIX
356
 
    if (!cuix_active) {
357
 
#endif
358
352
        if (window != NULL)
359
353
                wnoutrefresh(window->win);
360
354
 
361
355
        if (freeze_refresh == 0) {
362
356
                move(curs_y, curs_x);
363
357
                wnoutrefresh(stdscr);
364
 
#ifdef HAVE_CUIX
365
 
                cuix_refresh ();
366
 
#endif
367
358
                doupdate();
368
359
        }
369
 
#ifdef HAVE_CUIX
370
 
    } else {
371
 
        update_panels ();
372
 
        doupdate ();
373
 
    }
374
 
#endif
375
360
}
376
361
 
377
362
void term_stop(void)