updated tte.c
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 14s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 28s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 14s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 28s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled
This commit is contained in:
1 parent
c3ddcf4c5d
commit
d37be2282d
1 file changed
+1
-1
@@ -2082,7 +2082,6 @@ void initEditor() {
|
|||||||
ec.syntax = NULL;
|
ec.syntax = NULL;
|
||||||
ec.actions = actionListInit();
|
ec.actions = actionListInit();
|
||||||
|
|
||||||
editorUpdateWindowSize();
|
|
||||||
// The SIGWINCH signal is sent to a process when its controlling
|
// The SIGWINCH signal is sent to a process when its controlling
|
||||||
// terminal changes its size (a window change).
|
// terminal changes its size (a window change).
|
||||||
signal(SIGWINCH, editorHandleSigwinch);
|
signal(SIGWINCH, editorHandleSigwinch);
|
||||||
@@ -2155,6 +2154,7 @@ int main(int argc, char* argv[]) {
|
|||||||
editorOpen(argv[argc - 1]);
|
editorOpen(argv[argc - 1]);
|
||||||
else if (arg_response == -1)
|
else if (arg_response == -1)
|
||||||
return 0;
|
return 0;
|
||||||
|
editorUpdateWindowSize();
|
||||||
enableRawMode();
|
enableRawMode();
|
||||||
|
|
||||||
editorSetStatusMessage(" Ctrl-Q to quit | Ctrl-S to save | (tte -h | --help for more info)");
|
editorSetStatusMessage(" Ctrl-Q to quit | Ctrl-S to save | (tte -h | --help for more info)");
|
||||||
|
|||||||
Reference in new issue
Block a user