diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-06-22 17:25:58 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-06-22 17:25:58 +0300 |
| commit | 372a3ca30b3aede37240f4840ab5877574bd5d17 (patch) | |
| tree | 8ddd41ed416f14739c6306eee0cb535cac52f31f /main.c | |
| parent | b086f0123236a37d8199d72354bc401c9a3e5ca9 (diff) | |
| download | wafflestone-372a3ca30b3aede37240f4840ab5877574bd5d17.tar.xz | |
Set locale
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,10 +1,13 @@ +#include <locale.h> +#include <math.h> #include <stdio.h> #include <unistd.h> -#include <math.h> #include "framebuffer.h" int main(void) { + setlocale(LC_ALL,""); + term_init(); fprintf(stderr, "%zux%zu\n", term_width, term_height); |
