[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Windows keyboard input
From: |
Jason Hood |
Subject: |
Windows keyboard input |
Date: |
Sat, 21 Jan 2017 17:55:08 +1000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
Attached is a patch to tweak Windows keyboard handling. It adds
a working 'pause_or_input' function, allowing echo area messages
to be seen. Windows 10 can now apparently seek console input, so
just use GetConsoleMode to determine that. Sets the 'term_??'
definitions for KEY_HOME, KEY_END (and KEY_INSERT), allowing Home
and End to be used in the echo area (rather than having to
explicitly define 'M-<' and 'M->').
--
Jason.
windows-input.patch
Description: Text document
- Windows keyboard input,
Jason Hood <=