[hackers] [lchat] add space to default prompt || Jan Klemkow

From: <git_AT_suckless.org>
Date: Sun, 13 May 2018 03:37:52 +0200 (CEST)

commit ff313d180ee0f8e7d2e8cceb018dc7bef3da0141
Author: Jan Klemkow <j.klemkow_AT_wemelug.de>
AuthorDate: Sun May 13 01:32:36 2018 +0200
Commit: Jan Klemkow <j.klemkow_AT_wemelug.de>
CommitDate: Sun May 13 03:32:27 2018 +0200

    add space to default prompt

diff --git a/lchat.c b/lchat.c
index 3ace2e6..d96d30e 100644
--- a/lchat.c
+++ b/lchat.c
_AT_@ -188,7 +188,7 @@ main(int argc, char *argv[])
         char *title = read_file_line(".title");
 
         if (prompt == NULL) /* set default prompt */
- prompt = ">";
+ prompt = "> ";
 
         size_t prompt_len = strlen(prompt);
         size_t loverhang = 0;
Received on Sun May 13 2018 - 03:37:52 CEST

This archive was generated by hypermail 2.3.0 : Sun May 13 2018 - 03:48:23 CEST