protected void restoreTerminal ( ) { try { terminal . restore ( ) ; } catch ( Exception e ) { // ignore } if ( terminal instanceof UnixTerminal ) { // workaround for GRAILS-11494 try { new TerminalLineSettings ( ) . set ( "sane" ) ; } catch ( Exception e ) { // ignore } } }
Restore the terminal .