Changed CR key from 0x0a -> 0x0d like vim does.
authorDaniel Carl <danielcarl@gmx.de>
Tue, 15 Oct 2013 20:56:07 +0000 (22:56 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 15 Oct 2013 20:56:27 +0000 (22:56 +0200)
commit9b06d0383f5c03cdc575099dcb5a849b775ec3b5
tree88220a804675e2aa47c09361bae6b6fe6a329a2f
parent95f3670845fafc0b65f4f466890255de6d9b0057
Changed CR key from 0x0a -> 0x0d like vim does.

Change order of key processing parts. Use fix keyvalue mapping before running
the gdk_keyval_to_unicode(). This should be a little faster and avoids bugs,
when compiled against the GTK3 libs, where the GDK_Return is handled by
gdk_keyval_to_unicode() which wasn't th fact with GDK2.
src/ascii.h
src/ex.c
src/map.c