Created
June 4, 2021 23:51
-
-
Save rokuyama/8250f98eaaeb3e7765380e69a9be478b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: sys/dev/wscons/wsemul_vt100.c | |
=================================================================== | |
RCS file: /home/netbsd/src/sys/dev/wscons/wsemul_vt100.c,v | |
retrieving revision 1.46 | |
diff -p -u -r1.46 wsemul_vt100.c | |
--- sys/dev/wscons/wsemul_vt100.c 10 Nov 2019 21:16:38 -0000 1.46 | |
+++ sys/dev/wscons/wsemul_vt100.c 4 Jun 2021 23:32:03 -0000 | |
@@ -429,7 +429,13 @@ wsemul_vt100_output_c0c1(struct wsemul_v | |
/* ignore */ | |
break; | |
case ASCII_BEL: | |
- wsdisplay_emulbell(vd->cbcookie); | |
+ if (edp->state == VT100_EMUL_STATE_STRING) { | |
+ /* acts as an equivalent to the ``ESC \'' string end */ | |
+ wsemul_vt100_handle_dcs(&edp->bd); | |
+ edp->state = VT100_EMUL_STATE_NORMAL; | |
+ } else { | |
+ wsdisplay_emulbell(vd->cbcookie); | |
+ } | |
break; | |
case ASCII_BS: | |
if (vd->ccol > 0) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment