commit | f9bf865cb0d489dfebe9abc98849070791e9ffa3 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Wed Mar 07 16:05:27 2018 +0100 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Thu Mar 08 17:19:52 2018 +0000 |
tree | 2590ce860a81e94d9662d28264a76fc5d4933039 | |
parent | 189f313d0caebef915a85507ed977b82d46bc2df [diff] |
ssh/terminal: simplify defer Directly use unix.IoctlSetTermios and windows.SetConsoleMode instead of wrapping them with a closure. Change-Id: I6309253fbb6e59e029424273b48aaa608873ea17 Reviewed-on: https://go-review.googlesource.com/99455 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>