diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-08-07 10:11:38 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-08-07 10:11:38 +0200 |
commit | 8de8ae3923b3b91b034077c8c35acba629588233 (patch) | |
tree | 72c5c5005236080a5552196ebbd8ece2068c45d4 /config.def.h | |
parent | ec3268961d1dc4072f6caa6f97db5436da2ff411 (diff) | |
download | st-8de8ae3923b3b91b034077c8c35acba629588233.tar.gz st-8de8ae3923b3b91b034077c8c35acba629588233.tar.bz2 |
Unset mode when clearing regions
tclearregion() was clearing regions using spaces and the current
attributes of the terminal. It was correct with all the modes excepct
underline, because they didn't affect the space character, but in
the case of underline it was a problem. A easy way of seeing this
problem is writing this in the last line of the terminal:
tput smul ; echo first; tput rmul; echo second; echo third
Fist was underlined, and second and third were not underlined, but
the spaces at the right of second was underlined becuause in the
previous scrool underline mode was set.
Diffstat (limited to 'config.def.h')
0 files changed, 0 insertions, 0 deletions