bug-ncurses
[Top][All Lists]
Advanced

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

Re: keeping text within a *WINDOW


From: Thomas Dickey
Subject: Re: keeping text within a *WINDOW
Date: Tue, 11 Jun 2002 13:36:45 -0400
User-agent: Mutt/1.2.5i

On Tue, Jun 11, 2002 at 11:18:06AM -0400, John Bleichert wrote:
 
> Right - I got that. What I have is a text entry window in an application, 
> sort of like the text entry field in an IRC client. I made it 2 lines 
> deep, and I was wondering if there was a way to force the user's cursor to 
> 'wrap' at the right-most margin of a text-entry field.
> 
> I've gotten it working manually by getch each keystroke, not echoing it, 

if you have echo on, it will be addch'd to the window referenced by wgetch.

> then addch'ing it to the text entry field (and also a different way), I am 
> just curious if there's a way - perhaps I need to use a form or make my 
> own text-entry widget ;-)

-- 
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]