Added pause feature. Added cursor + cursor position overlay element.
This commit is contained in:
parent
30227eef56
commit
3b8ed228d5
2
main.c
2
main.c
@ -96,7 +96,9 @@ void showLastPressed(char ch)
|
|||||||
|
|
||||||
void showCurPos()
|
void showCurPos()
|
||||||
{
|
{
|
||||||
|
attron(COLOR_PAIR(2));
|
||||||
mvprintw(1, 0, "curpos: %i, %i", cursor.x, cursor.y);
|
mvprintw(1, 0, "curpos: %i, %i", cursor.x, cursor.y);
|
||||||
|
attroff(COLOR_PAIR(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
void handleInput(char ch)
|
void handleInput(char ch)
|
||||||
|
Loading…
Reference in New Issue
Block a user