From 329d0980c79b14987cee43c70b489a5a6a09c6aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 10 Jan 2017 20:56:16 +0100 Subject: vis: add process id to :help output --- vis-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vis-cmds.c b/vis-cmds.c index 2f2ecf9..b69fc21 100644 --- a/vis-cmds.c +++ b/vis-cmds.c @@ -661,7 +661,7 @@ static bool cmd_help(Vis *vis, Win *win, Command *cmd, const char *argv[], Curso Text *txt = vis->win->file->text; - text_appendf(txt, "vis %s\n\n", VERSION); + text_appendf(txt, "vis %s (PID: %ld)\n\n", VERSION, (long)getpid()); text_appendf(txt, " Modes\n\n"); for (int i = 0; i < LENGTH(vis_modes); i++) { -- cgit v1.2.3