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 <[email protected]> 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: pgpdnpAmmXqAI.pgp
Description: OpenPGP digital signature

Reply via email to