Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenFlipper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
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