add space to default prompt - lchat - A line oriented chat front end for ii.
(HTM) git clone git://git.suckless.org/lchat
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit ff313d180ee0f8e7d2e8cceb018dc7bef3da0141
(DIR) parent 2580f7cedbb1cc603e92cc09235be2f6385dd2a4
(HTM) Author: Jan Klemkow <j.klemkow@wemelug.de>
Date: Sun, 13 May 2018 01:32:36 +0200
add space to default prompt
Diffstat:
M lchat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/lchat.c b/lchat.c
@@ -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;