s390/tty3270: ignore NUL characters
authorSven Schnelle <svens@linux.ibm.com>
Thu, 17 Nov 2022 16:52:40 +0000 (17:52 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:33:58 +0000 (14:33 +0100)
commit970cf9a97a27d3f9a72a17aa6aedb47758478c33
treefbb32b4a6eae627e6250ebe22ac73f7f332587bb
parente4b57b93935d103aae10abea361af77ef906f368
s390/tty3270: ignore NUL characters

With 'TERM=vt220' zsh is sending several NUL characters with
the prompt to the tty. Both xterm and the linux drm console
seem to ignore them. Ignore them in tty3270 as well.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/con3270.c