compat/terminal: factor out echo-disabling
authorErik Faye-Lund <kusmabite@gmail.com>
Tue, 4 Dec 2012 08:10:39 +0000 (09:10 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Dec 2012 16:01:59 +0000 (08:01 -0800)
commit9df92e6369138764ce7bd44edbb307d98e9d72fd
tree0132e044dd3b9cf8e817252272d9cd3d36600207
parent176478a8bd028a3877d2be49a1e7a49386c095ce
compat/terminal: factor out echo-disabling

By moving the echo-disabling code to a separate function, we can
implement OS-specific versions of it for non-POSIX platforms.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/terminal.c