diff --git a/main.py b/main.py new file mode 100644 index 0000000..e69de29 diff --git a/tte.c b/tte.c index fb7e4de..11d02a1 100644 --- a/tte.c +++ b/tte.c @@ -1330,7 +1330,7 @@ void editorDrawWelcomeMessage(struct a_buf* ab) { // Using snprintf to truncate message in case the terminal // is too tiny to handle the entire string. int welcome_len = snprintf(welcome, sizeof(welcome), - "tte %s ", TTE_VERSION); + "tte %s ", TTE_VERSION); if (welcome_len > ec.screen_cols) welcome_len = ec.screen_cols; // Centering the message.