Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
8400a7d9
Commit
8400a7d9
authored
May 19, 2017
by
Jens Korinth
Browse files
tapasco-debug: leave ncurses before exiting
parent
0dff8108
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/tests/tapasco_debug.cpp
View file @
8400a7d9
...
...
@@ -33,6 +33,14 @@ int main(int argc, char *argv[])
menu
.
show
();
exit_ncurses
();
}
catch
(
int
e
)
{
exit_ncurses
();
cerr
<<
"Error code: "
<<
e
<<
endl
;
}
catch
(
tapasco
::
Tapasco
::
tapasco_error
e
)
{
exit_ncurses
();
cerr
<<
e
.
what
()
<<
endl
;
}
catch
(
runtime_error
e
)
{
exit_ncurses
();
cerr
<<
"Unknown error occurred."
<<
endl
;
exit
(
1
);
}
}
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment