aboutsummaryrefslogtreecommitdiff
path: root/src/calculer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/calculer.c')
-rw-r--r--src/calculer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/calculer.c b/src/calculer.c
index 8c1b629..705fb74 100644
--- a/src/calculer.c
+++ b/src/calculer.c
@@ -129,6 +129,10 @@ set_disp_name(char **dest, char const *optarg)
{
*dest = DISP_RAY;
}
+ else if (strcmp(optarg, "tui") == 0)
+ {
+ *dest = DISP_TUI;
+ }
else
{
fprintf(stderr, "calculer: invalid interface \"%s\"\n", optarg);