From cf8138a1e95e998b24ad7c4eed538f00a5e77b45 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Thu, 13 Jun 2013 20:54:27 -0700 Subject: [PATCH] Proc start needs a newline. --- pidcat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pidcat.py b/pidcat.py index 36a2d06..d8e8c11 100755 --- a/pidcat.py +++ b/pidcat.py @@ -173,7 +173,8 @@ while True: if match_pacakges(line_package): pids.add(line_pid) - linebuf = colorize(' ' * (header_size - 1), bg=WHITE) + linebuf = '\n' + linebuf += colorize(' ' * (header_size - 1), bg=WHITE) linebuf += indent_wrap(' Process created for %s\n' % target) linebuf += colorize(' ' * (header_size - 1), bg=WHITE) linebuf += ' PID: %s UID: %s GIDs: %s' % (line_pid, line_uid, line_gids)