add utf8_char_t struct
This commit is contained in:
@@ -21,11 +21,19 @@
|
||||
#include "include/output.h"
|
||||
#include "include/terminal.h"
|
||||
|
||||
#include <locale.h>
|
||||
#include <wchar.h>
|
||||
|
||||
struct editorConfig E;
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
char * splash_screen = (char *) calloc(256, sizeof(char));
|
||||
|
||||
// Set support for utf-8
|
||||
setlocale(LC_ALL, "");
|
||||
|
||||
// INIT
|
||||
|
||||
enableRawMode();
|
||||
initEditor();
|
||||
|
||||
Reference in New Issue
Block a user