fmt_scan: support multibyte characters in putstr decoding
authorc_14 <git@c-14.de>
Tue, 16 May 2017 16:13:27 +0000 (18:13 +0200)
committerPhilipp Takacs <philipp@bureaucracy.de>
Thu, 15 Jun 2017 19:53:47 +0000 (21:53 +0200)
commit95f7880a49b3eb5d1d4f5a966c291d91aeca3c41
tree7504bf261584c95c2559c96a74b85dc50ba790a0
parent4fbfa159384d4f0230d96999164b630f17c5e4a5
fmt_scan: support multibyte characters in putstr decoding

Fixes an issue where the string output by scan with a putstr format is
truncated within a multibyte character causing terminal corruption
sbr/fmt_scan.c