bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a portable way to copy SCREEN


From: Bryan Christ
Subject: Re: Is there a portable way to copy SCREEN
Date: Wed, 25 Feb 2009 12:38:27 -0600

Thomas

I noticed that scr_dump() is implemented as basically putwin().
Shouldn't I be able to simply do a scr_dump() then a getwin() as a means
of copying a SCREEN to a WINDOW?

Cameron, what does this look like on pdcurses?

Bryan

On Wed, 2009-02-25 at 17:49 +0000, Thomas Dickey wrote:
> On Wed, 25 Feb 2009, Bryan Christ wrote:
> 
> > If I wanted to copy the contents of a SCREEN to a WINDOW, is there a
> > good way of doing this?  I am hesitant to simply copy struct screen ->
> > *_curscr
> 
> SCREEN and WINDOW are different types.
> 
> From the outset, everyone's implemented SCREEN as an opaque type.
> So you can't copy it...
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]