From e20c64d5d72e341abf8dc3cb38d7cfec371faafc Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 22 Feb 2019 14:11:50 -0500 Subject: Reorganize UI code for the umpteenth time It's actually in a good state now, I think. --- chat.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chat.c') diff --git a/chat.c b/chat.c index f391fb2..2ec20bd 100644 --- a/chat.c +++ b/chat.c @@ -17,6 +17,7 @@ #define _WITH_GETLINE #include +#include #include #include #include @@ -49,6 +50,8 @@ static char *prompt(const char *prompt) { } int main(int argc, char *argv[]) { + setlocale(LC_CTYPE, ""); + int opt; while (0 < (opt = getopt(argc, argv, "NW:a:h:j:l:n:p:r:u:vw:"))) { switch (opt) { -- cgit 1.4.1-2-gfad0