[tin-dev] [PATCH] cursor visible after posting
Dennis Preiser
dennis at d--p.de
Tue Mar 1 21:45:11 CET 2022
Hi,
after posting an article from selection or group level the cursor
remains visible in the lower left corner.
Dennis
diff -urp tin-2.6.2_r6/src/group.c tin-2.6.2_r7/src/group.c
--- tin-2.6.2_r6/src/group.c 2022-02-17 14:47:44.000000000 +0100
+++ tin-2.6.2_r7/src/group.c 2022-03-01 21:36:22.000000000 +0100
@@ -734,8 +734,10 @@ group_page(
break;
case GLOBAL_POST: /* post an article */
- if (post_article(group->name))
+ if (post_article(group->name)) {
+ cursoroff();
show_group_page();
+ }
break;
case GLOBAL_POSTPONED: /* post postponed article */
diff -urp tin-2.6.2_r6/src/select.c tin-2.6.2_r7/src/select.c
--- tin-2.6.2_r6/src/select.c 2022-02-17 14:46:59.000000000 +0100
+++ tin-2.6.2_r7/src/select.c 2022-03-01 21:36:16.000000000 +0100
@@ -532,8 +532,10 @@ selection_page(
info_message(_(txt_cannot_post));
break;
}
- if (post_article(buf))
+ if (post_article(buf)) {
+ cursoroff();
show_selection_page();
+ }
break;
case GLOBAL_POSTPONED: /* post postponed article */
More information about the tin-dev
mailing list