|
@@ -2663,7 +2663,7 @@ tputc(char *c, int len) {
|
|
* character.
|
|
* character.
|
|
*/
|
|
*/
|
|
if(term.esc & ESC_STR) {
|
|
if(term.esc & ESC_STR) {
|
|
- if(width == 1 &&
|
|
|
|
|
|
+ if(len == 1 &&
|
|
(ascii == '\a' || ascii == 030 ||
|
|
(ascii == '\a' || ascii == 030 ||
|
|
ascii == 032 || ascii == 033 ||
|
|
ascii == 032 || ascii == 033 ||
|
|
ISCONTROLC1(unicodep))) {
|
|
ISCONTROLC1(unicodep))) {
|