diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-09 19:07:36 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-09 19:09:34 (GMT) |
| commit | 973dc4056b74b26635f3fe8d9e23835c05cdfd12 (patch) | |
| tree | d10a099aca698fba8a7cc5df08603ba8b7012052 | |
| parent | 632635e8ce905221ef4e68195e18e9cca26bb6c0 (diff) | |
Fix for use of alternate terminal buffer in stdio-modepicoc
| -rw-r--r-- | nanobox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -760,12 +760,12 @@ int main(int argc, char **argv) devtty = fopen("/dev/tty", "a+"); nano_stdin_fd = fileno(devtty); #endif + write1("\033[?1049h"); #if ENABLE_FEATURE_NANO_STDIO if (nano_stdio_mode) { edit_file(NULL); } else { #endif - write1("\033[?1049h"); while (1) { edit_file(argv[optind]); /* param might be NULL */ if (++optind >= argc) |
