[Top][All Lists]
[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:05:19 -0600 |
I realize that SCREEN and WINDOW are different types, but ncurses stores
the "artwork" of the SCREEN in several WINDOW buffers
(_curscr,_newscr,_stdscr)--at least the way I'm reading it. Also, I
have already discovered that SCREEN is abstracted--this is unfortunate.
I was really hoping there was an undocumented, reliable (portable) way
of copying the "artwork" from a SCREEN to a WINDOW.
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...
>