UTF-8 support (initial commit)

This commit is contained in:
2026-03-10 18:51:58 +02:00
parent 110c4b4649
commit 27911d3886
31 changed files with 57 additions and 32 deletions
+3 -1
View File
@@ -1,5 +1,6 @@
#include "app.h"
#include <ncurses.h>
#include <locale.h>
#include <ncursesw/ncurses.h>
#include <netinet/in.h>
#include <stdint.h>
#include <stdio.h>
@@ -65,6 +66,7 @@ void init_nc() {
noecho();
curs_set(false);
set_escdelay(50);
setlocale(LC_ALL, "");
if (!has_colors()) {
printf("Your terminal does not support color\n");