input: fully reset state when a three-digit character code is cut short
There shouldn't be two separate variables (but with the same name) that count the number of digits seen. Fuse them into a single static var. This fixes https://savannah.gnu.org/bugs/?52863.
Showing
+6 -11
Please register or sign in to comment