Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pousseseringue-arduino
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FabLAAS
PousseSeringue
pousseseringue-arduino
Merge requests
!23
restore CLI on some consoles
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
restore CLI on some consoles
restorecli
into
master
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
David Gauchard
requested to merge
restorecli
into
master
1 year ago
Overview
0
Commits
3
Pipelines
0
Changes
1
Expand
ascii code 10 or 13 are end of line (not only 13)
👍
1
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ea298b4f
3 commits,
1 year ago
1 file
+
1
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
cli.cpp
+
1
−
2
Options
@@ -117,13 +117,12 @@ void Cli::check_emergency ()
void
Cli
::
loop
(
Stream
&
input
)
{
while
(
true
)
{
if
(
!
input
.
available
())
return
;
int
c
=
input
.
read
();
if
(
c
==
13
)
if
(
c
==
10
||
c
==
13
)
break
;
if
(
c
>=
32
&&
c
<=
127
)
_currentInput
+=
(
char
)
c
;
Loading