Browse Source

Debug build without terminal raw-mode

Ivan Arkhipov 5 years ago
parent
commit
67922195d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      esh_main_loop.c

+ 1 - 1
esh_main_loop.c

@@ -16,7 +16,7 @@ void EShRunLoop() {
     new_term_attr.c_lflag &= ~(ECHO | ICANON | ISIG | IEXTEN);
     new_term_attr.c_cc[VTIME] = 0;
     new_term_attr.c_cc[VMIN] = 1;
-    tcsetattr(fileno(stdin), TCSANOW, &new_term_attr);
+    // tcsetattr(fileno(stdin), TCSANOW, &new_term_attr);
 
 	char* command = malloc(esh_info_global->max_command_length);
 	char* uncomplete_command = malloc(esh_info_global->max_command_length); // Used to restore after moves history