From ea9f134df9b83a7c4aa74737055a8a131c65e25d Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Fri, 28 Jun 2024 15:34:57 +0900 Subject: Add TUI to project --- src/calculer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/calculer.c') 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); -- cgit v1.2.3