From d9fe3f7c78260d3bf088a38d815564257b38e79b Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 14 Mar 2021 03:34:37 -0400 Subject: [PATCH] logerror: newlines on output --- src/lib/render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/render.c b/src/lib/render.c index 55bc42587..c49b0ac54 100644 --- a/src/lib/render.c +++ b/src/lib/render.c @@ -178,7 +178,7 @@ void cell_release(ncplane* n, nccell* c){ // Duplicate one cell onto another when they share a plane. Convenience wrapper. int cell_duplicate(ncplane* n, nccell* targ, const nccell* c){ if(cell_duplicate_far(&n->pool, targ, n, c) < 0){ - logerror(ncplane_notcurses(n), "Failed duplicating cell"); + logerror(ncplane_notcurses(n), "Failed duplicating cell\n"); return -1; } return 0; @@ -1406,7 +1406,7 @@ int notcurses_cursor_enable(notcurses* nc, int y, int x){ int notcurses_cursor_disable(notcurses* nc){ if(nc->cursorx < 0 || nc->cursory < 0){ - logerror(nc, "Cursor is not enabled"); + logerror(nc, "Cursor is not enabled\n"); return -1; } if(nc->ttyfd >= 0){