LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2005, 05:40 AM   #1
saied
LQ Newbie
 
Registered: May 2005
Posts: 8

Rep: Reputation: 0
what is the role of refresh function in ncurses?


Hi
as you know some functions like printw write a string into stdscr not curscr
or real screen and some other functions like refresh write changes to stdscr
to scrscr.it means when we use printw real screen should not change.
but when i use printw real screen shows changes immediately without any
need to call refresh function . what is the reason of this problem ?
 
Old 08-04-2005, 02:16 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Most of the ncurses routines simply modify the data structures. The refresh function updates the screen.

For more information check the man page (man 3 refresh).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Role Playing Server webwolf70 Linux - Games 0 09-17-2005 03:06 PM
Linux Support role? venkat_bommireddipal Linux - Certification 1 09-15-2005 01:31 PM
Another bash question (I'm on a role :p) lowpro2k3 Programming 7 03-28-2005 10:12 PM
ncurses-5.2-28 conflicts with file from package ncurses-5.2-12 tubby Linux - Software 4 06-16-2002 12:00 AM
What's the role of ##*. ? Rex_chaos Linux - General 1 04-29-2002 08:54 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration