]> Sergey Matveev's repositories - nnn.git/commitdiff
Add a cool ASCII art to help screen
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 22 Aug 2021 15:17:00 +0000 (20:47 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 22 Aug 2021 23:08:54 +0000 (04:38 +0530)
src/nnn.c

index b15a1199b95e039d3347d780cef2d3d3521524a4..3c40685f58e655c4d11129f3b357a7ae8ed8be56 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4992,6 +4992,12 @@ static void show_help(const char *path)
        if (fd == -1)
                return;
 
+       dprintf(fd, "  |V\\_\n"
+                   "  /. \\\\\n"
+                   " (.~; ||\n"
+                   "   /__3\\\n"
+                   "  (__n_))\n");
+
        char *prog = xgetenv(env_cfg[NNN_HELP], NULL);
        if (prog)
                get_output(prog, NULL, NULL, fd, TRUE, FALSE);