[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question
From: |
Thomas Dickey |
Subject: |
Re: Question |
Date: |
Sun, 17 May 2015 21:16:47 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sun, May 17, 2015 at 03:58:37PM -0700, K S wrote:
> Hi,
>
>
>
> Is there any way for ncurses to detect a shift+enter combination? I know
> that alt+[keys] have to be separated into two 'gets's. Is there a FAQ to
> explain which key-combinations work? For example, ctrl+shift+[key] is the
> same as ctrl+[key].
ncurses (like any portable terminal application) only knows how to read
a sequence of bytes from the terminal. You would see a distinct set of
bytes for shift-enter only in certain terminals - such as xterm with
some special initialization.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature