Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
11566df9
Commit
11566df9
authored
14 years ago
by
Adam Wardynski
Browse files
Options
Downloads
Patches
Plain Diff
Add prompt for non-libedit read-from-std loop.
parent
332151bd
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wcclparser/main.cpp
+1
-0
1 addition, 0 deletions
wcclparser/main.cpp
with
1 addition
and
0 deletions
wcclparser/main.cpp
+
1
−
0
View file @
11566df9
...
...
@@ -26,6 +26,7 @@ namespace {
void
std_read_loop
(
boost
::
function
<
bool
(
const
std
::
string
&
)
>&
line_cb
)
{
while
(
std
::
cin
.
good
())
{
std
::
cout
<<
_prompt
<<
std
::
flush
;
std
::
string
s
;
getline
(
std
::
cin
,
s
);
if
(
line_cb
(
s
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment