scd: fix pinpad input on Windows.