aboutsummaryrefslogtreecommitdiff
path: root/tsalis/src/printer.c
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 01:50:45 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 01:50:45 +0100
commit9a094c5c67fa1408c96e556e95f52f15dc5efda6 (patch)
treebc40a048e1839f8cdadad6c8ff8accd71e142619 /tsalis/src/printer.c
parente070c5fe084d181654e8090d6e5ee1faef873060 (diff)
Better command-line arguments for TSalis.
TSalis may now be started using more standard arguments: "-n", "--new", "-l" and "--load". Also, updated README file to address this and previous changes.
Diffstat (limited to 'tsalis/src/printer.c')
-rw-r--r--tsalis/src/printer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tsalis/src/printer.c b/tsalis/src/printer.c
index c835f24..ec01ada 100644
--- a/tsalis/src/printer.c
+++ b/tsalis/src/printer.c
@@ -102,12 +102,14 @@ tsp_check(void)
return SFALSE;
}
+ endwin();
return STRUE;
}
void
tsp_init(void)
{
+ initscr();
cbreak();
noecho();
curs_set(0);