channels/smartcard: fix multi-line handling