Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
5d219e54
Commit
5d219e54
authored
Feb 09, 2018
by
schultz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #8 by clearing all std streams to reset them from an initial error state
parent
114e7737
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
OpenFlipper.cc
OpenFlipper.cc
+6
-0
No files found.
OpenFlipper.cc
View file @
5d219e54
...
...
@@ -125,6 +125,12 @@ void connect_console()
if
(
check
)
{
std
::
cerr
<<
"Error reopening stderr"
<<
std
::
endl
;
}
std
::
cout
.
clear
();
std
::
cerr
.
clear
();
std
::
cin
.
clear
();
std
::
wcout
.
clear
();
std
::
wcerr
.
clear
();
std
::
wcin
.
clear
();
}
void
attachConsole
()
...
...
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