Change-Id: Id06d215063796d222b9792d25ab2d6742167729f Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
Follow the POSIX description. SIGTSTP should be sent when the Ctrl-Z characters is encountered, not SIGSTP. Testing: Built with hifive1-revb:nsh (CONFIG_SERIAL_TERMIOS=y, CONFIG_SIG_DEFAULT=y and CONFIG_TTY_SIGTSTP=y)