]> git.armaanb.net Git - st.git/commit
Do not use tmoveto in tputtab.
authornoname@inventati.org <noname@inventati.org>
Mon, 13 Apr 2015 12:03:35 +0000 (14:03 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 13 Apr 2015 19:33:36 +0000 (21:33 +0200)
commit9eb70a2d3ecbd96a92e5f824868500baba74b688
tree3287274b573f4dd6b59da49458f0c82c935226ff
parent5bb90125c80a9409745bd7551aaae478dda3f890
Do not use tmoveto in tputtab.

tmoveto resets CURSOR_WRAPNEXT.

Simple testcase:

for i in $(seq 1 200); do
printf '\t.';
usleep 100000;
printf '\t@';
usleep 100000;
done

In st executing this script causes @ and . to overwrite each other in
the last column.
st.c