summaryrefslogtreecommitdiffstats
path: root/src/tui.c
diff options
context:
space:
mode:
authormongo <andmarti@gmail.com>2017-04-20 12:27:58 -0300
committermongo <andmarti@gmail.com>2017-04-20 12:27:58 -0300
commitbb9a33c0ff42afa37a13b34ebcadeb84b3597231 (patch)
treeabd8361abb3c70bd0a4e4a43220fa2490652f57d /src/tui.c
parent6f3c267b0d568f652fdaf313b574041e722bfb2b (diff)
add --version option to pass to argv
Diffstat (limited to 'src/tui.c')
-rw-r--r--src/tui.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tui.c b/src/tui.c
index 21f809b..5ab6de0 100644
--- a/src/tui.c
+++ b/src/tui.c
@@ -188,9 +188,11 @@ void ui_sc_msg(char * s, int type, ...) {
fwprintf(fdoutput, L"%s\n", t);
} else {
if (fwide(stdout, 0) >0)
- wprintf(L"wide %s\n", t);
+ //wprintf(L"wide %s\n", t);
+ wprintf(L"%s\n", t);
else
- printf("nowide %s\n", t);
+ //printf("nowide %s\n", t);
+ printf("%s\n", t);
fflush(stdout);
}
va_end(args);