jcs
/subtext
/amendments
/575
board: Show page number in the prompt
jcs made amendment 575 11 months ago
--- board.c Tue Nov 21 21:19:45 2023
+++ board.c Tue Dec 19 10:29:51 2023
@@ -417,8 +417,6 @@ board_show(struct session *s, short id, char *prompt_p
if (prompt_prefix == NULL)
prompt_prefix = "Boards";
-
- snprintf(prompt, sizeof(prompt), "%s:%s", prompt_prefix, board->name);
while (!done && !s->ending) {
if (find_post_ids) {
@@ -446,6 +444,9 @@ board_show(struct session *s, short id, char *prompt_p
show_list = false;
}
+ snprintf(prompt, sizeof(prompt), "%s:%s:%ld", prompt_prefix,
+ board->name, page + 1);
+
if (next_c) {
c = next_c;
next_c = 0;