소스 검색

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