From 3b8ed228d50f11ff51484ddff2e6300c4feb402c Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Tue, 23 Jun 2020 02:36:44 +0100 Subject: [PATCH] Added pause feature. Added cursor + cursor position overlay element. --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index b0b21e5..6d434c3 100644 --- a/main.c +++ b/main.c @@ -96,7 +96,9 @@ void showLastPressed(char ch) void showCurPos() { + attron(COLOR_PAIR(2)); mvprintw(1, 0, "curpos: %i, %i", cursor.x, cursor.y); + attroff(COLOR_PAIR(2)); } void handleInput(char ch)