mpv/osdep
wm4 e722967580 input: handle UTF-8 terminal input
This assumes the terminal uses UTF-8. If invalid UTF-8 is encountered (for
example because the terminal uses a legacy encoding), the code falls back
to the old method and feeds each byte as key code to the input code.

In theory, UTF-8 input could randomly fail, because the code in getch2.c
doesn't try to fill the input buffer correctly with input sequences
longer than a byte. This is a problem with the design of the existing
code.
2012-01-18 04:13:27 +01:00
..
getch2-os2.c input: move all key code lists to input/keycodes.h 2011-05-02 00:43:31 +03:00
getch2-win.c input: move all key code lists to input/keycodes.h 2011-05-02 00:43:31 +03:00
getch2.c input: handle UTF-8 terminal input 2012-01-18 04:13:27 +01:00
getch2.h input: make slave command file descriptors nonblocking 2011-05-04 18:53:17 +03:00
gettimeofday.c osdep: Fix gettimeofday type to match the real one 2010-11-02 04:14:44 +02:00
glob-win.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
glob.h
macosx_finder_args.c options: change option parsing to use bstr 2011-07-29 05:50:38 +03:00
macosx_finder_args.h osdep/macosx_finder_args.h: include required header m_config.h 2010-11-02 04:16:46 +02:00
mmap-os2.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
mmap.h
mmap_anon.c #include corresponding .h files in .c files. 2010-02-16 15:03:03 +00:00
mmap_anon.h
mplayer.exe.manifest Windows support: add a manifest file 2010-11-02 04:14:20 +02:00
mplayer.rc osdep/mplayer.rc: change to use "mplayer2" name 2011-08-21 02:18:00 +03:00
numcores.c vd_ffmpeg: set thread count to number of cores on machine by default 2010-12-20 05:53:28 +02:00
numcores.h vd_ffmpeg: set thread count to number of cores on machine by default 2010-12-20 05:53:28 +02:00
osdep.h 1. Move the macros for priority classes for OS/2 from priority.c to osdep.h 2010-03-04 12:55:30 +00:00
priority.c build: cygwin: don't rely on _WIN32 being defined 2011-01-29 04:04:53 +02:00
priority.h cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
setenv.c build: fix --enable-debug, remove some "#ifdef MP_DEBUG" 2011-07-30 19:03:20 +03:00
shmem.c #include corresponding .h files in .c files. 2010-02-16 15:03:03 +00:00
shmem.h
strsep.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
strsep.h Add a proper header for our strsep implementation so strsep will 2010-01-17 15:08:31 +00:00
swab.c
timer-darwin.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
timer-linux.c #include corresponding .h files in .c files. 2010-02-16 15:03:03 +00:00
timer-win2.c
timer.h
vsscanf.c