aboutsummaryrefslogtreecommitdiff
path: root/src/calculer.c
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@bordeaux-inp.fr>2024-06-28 15:34:57 +0900
committerTristan Riehs <tristan.riehs@bordeaux-inp.fr>2024-06-28 15:34:57 +0900
commitea9f134df9b83a7c4aa74737055a8a131c65e25d (patch)
treec270144a3c6df04a6a6c8f311ec69fa96d4bbd08 /src/calculer.c
parent29b5f32b2917befa2f866f56857db183be7effe8 (diff)
Add TUI to project
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);