gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [groupchat] [PATCH] beautify quitting message


From: lurchi
Subject: Re: [groupchat] [PATCH] beautify quitting message
Date: Sat, 25 Apr 2020 19:32:28 +0200

Hello Marcos,

thank you for the patch. I will apply it as soon as I get the groupchat
working again on my machine (there are issues with current Nim and
GNUnet).

lurchi.


On Fri, 17 Apr 2020 13:21:01 +0100
Marcos Marado <address@hidden> wrote:

> When running as a client, and the application ends but not caused by
> user input (C-c), the there is no carriage return after the exit
> message, and so the 'quitting' message will drag the terminal prompt
> forward.
> 
> This patch fixes that cosmetic bug by adding a carriage return to the
> quitting message.
> ---
>  src/groupchat.nim | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/groupchat.nim b/src/groupchat.nim
> index d35816b..323f422 100644
> --- a/src/groupchat.nim
> +++ b/src/groupchat.nim
> @@ -235,7 +235,7 @@ proc main() =
>      gnunetApp.doWork()
>      stdout.flushFile()
> 
> -  echo "quitting"
> +  echo "quitting\r"
>    stdout.flushFile()
>    stdin.flushFile()
> 

Attachment: pgpt3fpk6AWpW.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]