1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00
Paul Fertser 1e81eea899 Input window: handle invalid multibyte
The current code enters an infinite loop if the input string happens
to get an invalid utf-8 sequence somehow. For me it was reproducible
by running profanity in a Screen session and pressing Alt-т (cyrillic
letter).

Fix it the way borrowed from 0501e49623f68aa39508e4e622924c1dd8147588
where mbrlen is used for the same purposes.
2022-03-29 13:57:07 +03:00
..
2022-03-27 16:06:29 +03:00
2022-03-27 21:48:45 +03:00
2022-03-22 11:44:01 +01:00
2022-03-13 14:15:02 +01:00
2022-03-24 11:42:49 +02:00
2022-03-29 13:57:07 +03:00
2022-03-22 11:34:23 +01:00
2020-07-07 14:18:57 +02:00
2022-03-14 13:17:46 +01:00
2020-12-11 11:18:24 +01:00
2021-10-27 22:45:44 +02:00
2021-10-13 21:32:44 +02:00
2021-01-08 16:36:30 +01:00