abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit f9f7eb63afb5fe5cb52f2822658272e204c54196
parent 06e4d23bd1466fb0df3c887916e420fc925549aa
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sat,  8 Mar 2014 20:03:11 +0100

Restore terminal before printing info messages

Diffstat:
abduco.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/abduco.c b/abduco.c @@ -328,6 +328,7 @@ static bool attach_session(const char *name) { tcsetattr(0, TCSADRAIN, &cur_term); int status = client_mainloop(); + client_restore_terminal(); if (status == -1) { info("detached"); } else if (status == -EIO) {