From 5a266179b407ad6e2c30a8a64877a2173639fa10 Mon Sep 17 00:00:00 2001 From: anon Date: Fri, 15 Dec 2023 20:29:58 +0100 Subject: [PATCH] source formatting --- source/display.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/display.c b/source/display.c index a6d14ee..cb92943 100644 --- a/source/display.c +++ b/source/display.c @@ -71,12 +71,14 @@ unsigned int totallines; /* total reference lines */ unsigned int curdispline = 0; int current_page = 0; int input_mode = INPUT_NORMAL; -const char *prompts[] = {[INPUT_NORMAL] = "$ ", +const char *prompts[] = { + [INPUT_NORMAL] = "$ ", [INPUT_APPEND] = "Append to file: ", [INPUT_PIPE] = "Pipe to shell command: ", [INPUT_READ] = "Read from file: ", [INPUT_CHANGE_TO] = "To: ", - [INPUT_CHANGE] = "###"}; + [INPUT_CHANGE] = "###" +}; unsigned int topline = 1; /* top line of page */