// Close disables the terminals raw input.

Close disables the terminals raw input.
// Close disables the terminals raw input .
func (term *Terminal) Close() error {
	if term.isTerm {
		ret, _, err := setConsoleMode.Call(term.In.Fd(), uintptr(term.origMode))
		if ret == 0 {
			return err
		}
	}
	return nil
}
func ( term * Terminal ) Close ( ) error { if term . isTerm { ret , _ , err := setConsoleMode . Call ( term . In . Fd ( ) , uintptr ( term . origMode ) ) if ret == 0 { return err } } return nil }
Close disables the terminals raw input.
Close disables the terminals raw input .