src/terminal_functions.c
/*
 * A method to restore the terminal's original abilities before the execution 
 * of the program. 
 */
A method to restore the terminal's original abilities before the execution
of the program.
A method to restore the terminal ' s original abilities before the execution of the program .
void disable_raw_mode()
{
    if(tcsetattr(STDIN_FILENO, TCSAFLUSH, &editor.orig_terminal)==-1)
        error("tcsetattr failed, cannot establish canonical mode"); 
}
void disable_raw_mode ( ) { if ( tcsetattr ( STDIN_FILENO , TCSAFLUSH , & editor . orig_terminal ) == -1 ) error ( " " ) ; }
A method to restore the terminal's original abilities before the execution
 of the program.
A method to restore the terminal ' s original abilities before the execution of the program .