diff options
| author | 2016-03-02 15:36:02 +0000 | |
|---|---|---|
| committer | 2016-03-02 15:36:02 +0000 | |
| commit | 98da63d5a13e2347fd3691b3336d5820e8c25d9b (patch) | |
| tree | bfae7f5c71c92e0c3363071046c3ef57b6450d3f /sys/compat/linux/linux_termios.c | |
| parent | Limit x, y and b to 0x7ff for UTF-8 mouse input, suggested by schwarze@. (diff) | |
| download | wireguard-openbsd-98da63d5a13e2347fd3691b3336d5820e8c25d9b.tar.xz wireguard-openbsd-98da63d5a13e2347fd3691b3336d5820e8c25d9b.zip | |
Handle wcwidth() and mbtowc() failures in better style and drop
characters where we can't find the width (wcwidth() fails) on input, the
same as we drop invalid UTF-8. Suggested by schwarze@.
Diffstat (limited to 'sys/compat/linux/linux_termios.c')
0 files changed, 0 insertions, 0 deletions
