[Top][All Lists]

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

Re: keypad() and _ISPAD

From: Thomas E. Dickey
Subject: Re: keypad() and _ISPAD
Date: Sun, 22 Apr 2001 19:45:21 -0400 (EDT)

On Sun, 22 Apr 2001, William Lee Irwin III wrote:

> It looks like keypad() doesn't set _ISPAD in win->_flags, which appears

no - _ISPAD is used to tell if the window is really a "pad", which is
a special variety of window whose size is not restricted to the screen's
physical size.

> to cause the cursor to be repositioned by wgetch() upon scanning ^H. I'm

sounds like you're describing wgetstr(), not wgetch().

> not entirely sure if this is the desired behavior, but it would seem, at
> least, that setting and clearing _ISPAD in win->_flags is the expected
> behavior. Let me know if this is in fact not the correct way to handle
> the situation.

T.E.Dickey <address@hidden>

reply via email to

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