Download raw body.
switch printing newline on exit to
On Thu, Jan 19, 2023 at 03:05:29PM -0500, Dave Voutila wrote:
> This has been driving me mildly crazy :)
>
> When I exit tog, I always get some blank line in my terminal
> (xterm). I've noticed this is the same behavior in st and alacritty.
Same annoyance, but too lazy to fix. I like this very much.
ok for me
(dv, you have commit privs yet?)
>
> I'm no curses guru, but this seems to work for me. Curious if those that
> saw the original issue have it solved using a curses function instead?
>
> -dv
>
> diff refs/heads/main refs/heads/ws-on-exit
> commit - 8fcd5cccdccdf61486b86753d28252df3bd5444a
> commit + 2280e77f04994426fe9138392c3b20b68e399ffd
> blob - 35282ce50aa4dec0745aa6402cd0b50d87b7416b
> blob + cb1e0dae600af3d85f32d8e6b15f93b38549e1da
> --- tog/tog.c
> +++ tog/tog.c
> @@ -9438,7 +9438,7 @@ main(int argc, char *argv[])
> }
>
> endwin();
> - putchar('\n');
> + clrtobot();
> if (cmd_argv) {
> int i;
> for (i = 0; i < argc; i++)
>
--
Tracey Emery
switch printing newline on exit to