From 343a74ac82bbadb35bfcb6a041098412e05a8b06 Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 19 Sep 2021 23:45:15 -0400 Subject: [PATCH] [ncneofetch] don't move logo to left #2138 --- src/fetch/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fetch/main.c b/src/fetch/main.c index 95ad74d6c..a31f827a3 100644 --- a/src/fetch/main.c +++ b/src/fetch/main.c @@ -611,7 +611,8 @@ display_thread(void* vmarshal){ struct ncplane* iplane = ncvisual_render(m->nc, ncv, &vopts); ncvisual_destroy(ncv); if(iplane){ - ncplane_move_yx(iplane, y, 0); + int x = ncplane_x(iplane); + ncplane_move_yx(iplane, y, x); ncplane_scrollup_child(notcurses_stdplane(m->nc), iplane); notcurses_render(m->nc); ncplane_cursor_move_yx(notcurses_stdplane(m->nc),