bug-ncurses
[Top][All Lists]
Advanced

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

Re: Reading characters from WIN*; saving and restoring window cursor


From: Thomas Dickey
Subject: Re: Reading characters from WIN*; saving and restoring window cursor
Date: Mon, 29 Jul 2002 14:55:26 -0400
User-agent: Mutt/1.2.5i

On Mon, Jul 29, 2002 at 03:36:19PM +0100, Walter Briscoe wrote:
> I missed getyx(). Am I unreasonable to expect functionality akin to 
> mywinch to be provided as part of the API?

There are odd omissions here/there.  As I remarked, I did notice recently
(different detail) that there's no API to set the _begy/_begx members.  This
comes up in the context of mvwin().  But adding an interface to do it "right"
introduces problems for people who port code to/from ncurses.

First I have to see if the extension can be written in terms of the standard
operations - if so, there's no need to add to the library.  Occasionally
someone points out a nice feature which could be added, but that rule is where
I start.  (Perhaps we could start a new library that's just that sort of
thing - but I'm already working on dialog and Cdk, which take that approach
in different directions).

If the nice feature can't be written in terms of standard operations, then I
have to take into account whether introducing it would lead to programs that
are difficult to port - that is, the related functionality cannot be treated as
optional.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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