added unicode support
This commit is contained in:
2
main.c
2
main.c
@@ -4,6 +4,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/sysinfo.h>
|
||||
#include <locale.h>
|
||||
#include "threading.h"
|
||||
#include "window.h"
|
||||
#include "defines.h"
|
||||
@@ -169,6 +170,7 @@ void render_pass(){
|
||||
/*this function exists for things done at startup (initialization, reading config, etc)*/
|
||||
void init() {
|
||||
|
||||
setlocale(LC_ALL, "");
|
||||
initscr(); /* start ncurses */
|
||||
noecho(); /* hide keyboard input */
|
||||
timeout(0); /* blocking timeout of getch() */
|
||||
|
Reference in New Issue
Block a user