[tin-dev] [PATCH] cursor visible after posting

Dennis Preiser dennis at d--p.de
Wed Mar 2 20:56:51 CET 2022


On Tue, Mar 01, 2022 at 09:45:11PM +0100, Dennis Preiser wrote:
> 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(

> 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(

Alternatively, we could use clear_message() in post.c:post_loop(), as we
do in other places there.

Dennis

diff -urp tin-2.6.2_r6/src/post.c tin-2.6.2_r8/src/post.c
--- tin-2.6.2_r6/src/post.c	2022-02-16 08:54:15.000000000 +0100
+++ tin-2.6.2_r8/src/post.c	2022-03-02 20:37:10.000000000 +0100
@@ -2289,6 +2289,7 @@ post_article_loop:
 							append_file(dead_article, dead_articles);
 						wait_message(2, _(txt_art_rejected), dead_article);
 					}
+					clear_message();
 					return ret_code;
 				}
 
@@ -2521,6 +2522,7 @@ post_article_postponed:
 	if (tinrc.unlink_article)
 		unlink(article_name);
 
+	clear_message();
 	return ret_code;
 }
 




More information about the tin-dev mailing list