drawterm/gui-win32
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
..
Makefile gui-win32: fix encoding and decoding of clipboard strings 2015-06-17 22:40:15 +02:00
alloc.c a 2005-08-08 12:50:13 +00:00
cload.c a 2005-08-08 12:50:13 +00:00
draw.c a 2005-08-08 12:50:13 +00:00
load.c a 2005-08-08 12:50:13 +00:00
r16.c gui-win32: fix encoding and decoding of clipboard strings 2015-06-17 22:40:15 +02:00
r16.h gui-win32: fix encoding and decoding of clipboard strings 2015-06-17 22:40:15 +02:00
screen.c gui-win32: fix encoding and decoding of clipboard strings 2015-06-17 22:40:15 +02:00