Fix curses return key when using -k
commit942cef3799d9f3c4fd0fd77a21b7eca220281af9
authorSamuel Thibault <samuel.thibault@gnu.org>
Sun, 28 Feb 2010 14:35:19 +0000 (28 15:35 +0100)
committerAndrzej Zaborowski <balrog@zabor.org>
Tue, 2 Mar 2010 23:20:06 +0000 (3 00:20 +0100)
tree8f58418fd7d33993d8db1903ff3aa0cd9c0ed481
parente68dd28fd7e7b2a157f7dbdc98c7f37a31c1f795
Fix curses return key when using -k

Hello,

There is a small incoherency in curses_keys.h, which makes it fail to
emit \n when using e.g. -k fr: curses2keysym transforms \r and 0x157
into \n, but name2keysym binds \r with Return, not \n.  The patch below
fixes that.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
curses_keys.h