Thanks Uh Boe, I've re-worked the patch as the stdout format printing can just use the vfprintf variant. I've also re-worked the ncurses variant to truncate and move the cursor rather than append a '\n'.
I'll be pushing a fix to the git repository and uploading the new version soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934593 Title: smemstat drops newlines on very long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/smemstat/+bug/1934593/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs