commit 6142ef87b569f8a6ea597c1fa418800d25529a1f
parent da2fce90bdc9b84a540b46457dbb5215a389e8a6
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Sat, 27 Aug 2016 09:29:09 +0200
prompt: use angular brackets as continuation mark, as Pico does
The $ sign looks too much like an S, and it "obscures" the answer by
being so "massive". The < and > signs are lighter and work better.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/prompt.c b/src/prompt.c
@@ -480,13 +480,13 @@ void update_the_statusbar(void)
mvwaddnstr(bottomwin, 0, 0, prompt, actual_x(prompt, COLS - 2));
waddch(bottomwin, ':');
- waddch(bottomwin, (the_page == 0) ? ' ' : '$');
+ waddch(bottomwin, (the_page == 0) ? ' ' : '<');
expanded = display_string(answer, the_page, COLS - base - 1, FALSE);
waddstr(bottomwin, expanded);
free(expanded);
- waddch(bottomwin, (the_page >= end_page) ? ' ' : '$');
+ waddch(bottomwin, (the_page >= end_page) ? ' ' : '>');
wattroff(bottomwin, interface_color_pair[TITLE_BAR]);
@@ -726,7 +726,7 @@ int do_prompt(bool allow_tabs,
va_start(ap, msg);
vsnprintf(prompt, COLS * mb_cur_max(), msg, ap);
va_end(ap);
- /* Reserve five columns for colon plus dollars plus answer, ":$aa$". */
+ /* Reserve five columns for colon plus angles plus answer, ":<aa>". */
null_at(&prompt, actual_x(prompt, (COLS < 5) ? 0 : COLS - 5));
func = acquire_an_answer(&retval, allow_tabs,