bug-ncurses
[Top][All Lists]
Advanced

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

Re: ^J | ^M | Return


From: Thomas Dickey
Subject: Re: ^J | ^M | Return
Date: Wed, 3 Oct 2001 13:36:30 -0400
User-agent: Mutt/1.2.5i

On Wed, Oct 03, 2001 at 09:12:25AM -0700, address@hidden wrote:
> I'm trying to understand why when I getch a control-J, a control-M, or a 
> return keypress, getch always captures the same thing, control-J.  How can 
> a programmer using ncurses distinguish between some of these keypresses?

If you're reading in raw mode, they're distinct.

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