Преглед на файлове

Debug build without terminal raw-mode

Ivan Arkhipov преди 5 години
родител
ревизия
67922195d6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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