summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/asprintf.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-10-21 09:36:53 +0000
committernicm <nicm@openbsd.org>2009-10-21 09:36:53 +0000
commitd7ce0cee2467b7b83e5c13bc8ab80fd5fc9d98e1 (patch)
tree6315c6aa8cc49f2baf0c96e42b2ffb7a64a8d60b /lib/libc/stdio/asprintf.c
parentGetting the read and write ends of the pipe the right way round is usually (diff)
downloadwireguard-openbsd-d7ce0cee2467b7b83e5c13bc8ab80fd5fc9d98e1.tar.xz
wireguard-openbsd-d7ce0cee2467b7b83e5c13bc8ab80fd5fc9d98e1.zip
Some terminals don't correctly clear their let's-wrap flag after changing the
scroll region (which moves the cursor to 0,0). This means that if the cursor was at the edge of the screen, any further output after scroll region change incorrectly causes a line wrap. Add a workaround to move the cursor to position 0 if it is at the screen edge before changing scroll region.
Diffstat (limited to 'lib/libc/stdio/asprintf.c')
0 files changed, 0 insertions, 0 deletions