opnsense-src/usr.bin/resizewin
Jessica Clarke 456c1199d3 resizewin: Stop printing bogus NUL to TTY
A char array has an implicit NUL terminating it, which sizeof will
include, so we need to subtract 1 here. Printing a NUL can cause issues
for things like CI environments that aren't expecting it, especially
with recent Jenkins being stricter about not putting NUL in XML files.

Fixes:		3d222369ac ("Add a small tool, resizewin(1), to query terminal for window size")
MFC after:	1 week
2023-06-14 23:58:36 +01:00
..
Makefile
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
resizewin.1
resizewin.c resizewin: Stop printing bogus NUL to TTY 2023-06-14 23:58:36 +01:00