Commit Graph

10 Commits

Author SHA1 Message Date
David du Colombier
23d9a24788 gui-win32: handle Khome, Kend, Kpgup and Kpgdown (thanks hiro) 2015-11-20 09:44:56 +01:00
David du Colombier
965baf3dce gui-win32: define Kdel in keyboard.h (thanks hiro) 2015-11-20 09:44:14 +01:00
David du Colombier
49233b059e gui-win32: fix scroll wheel (thanks hiro) 2015-11-20 09:43:23 +01:00
David du Colombier
8de603bff1 gui-win32: fix encoding and decoding of clipboard strings
On Windows, the clipboard strings are encoded in UTF-16.
However, Drawterm considers them as Rune. It used to work
when a Rune was a short, but a Rune is now a int.
The solution is to implement Rune16 functions to
handle UTF-16 strings.

The Rune16 functions were written by Charles Forsyth
as part of Inferno. Balaji Srinivasa integrated them
into Drawterm.
2015-06-17 22:40:15 +02:00
Russ Cox
12ce9a3cf5 windows unicode and scroll wheel 2006-03-08 04:26:14 +00:00
Russ Cox
ee5fc884bd fixes 2005-11-08 01:35:49 +00:00
Russ Cox
494adeed0b silence gcc warnings 2005-11-07 17:21:23 +00:00
Russ Cox
e10503f019 Mac fixes 2005-11-04 15:47:45 +00:00
Russ Cox
5d6ebf7a53 Merge in Windows port using mingw and make. 2005-10-31 15:30:23 +00:00
Russ Cox
934846f35c a 2005-08-08 12:50:13 +00:00