Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
8e6e9eae
Commit
8e6e9eae
authored
Oct 20, 2015
by
Paul Sokolovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unix: Use "Ctrl" as a name of the key, not "CTRL".
parent
acea9352
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
unix/main.c
unix/main.c
+2
-2
No files found.
unix/main.c
View file @
8e6e9eae
...
...
@@ -154,7 +154,7 @@ STATIC char *strjoin(const char *s1, int sep_char, const char *s2) {
STATIC
int
do_repl
(
void
)
{
mp_hal_stdout_tx_str
(
"MicroPython "
MICROPY_GIT_TAG
" on "
MICROPY_BUILD_DATE
"; "
MICROPY_PY_SYS_PLATFORM
" version
\n
Use C
TRL-D to exit, CTRL
-E for paste mode
\n
"
);
MICROPY_PY_SYS_PLATFORM
" version
\n
Use C
trl-D to exit, Ctrl
-E for paste mode
\n
"
);
#if MICROPY_USE_READLINE == 1
...
...
@@ -178,7 +178,7 @@ STATIC int do_repl(void) {
return
0
;
}
else
if
(
ret
==
CHAR_CTRL_E
)
{
// paste mode
mp_hal_stdout_tx_str
(
"
\n
paste mode; C
TRL-C to cancel, CTRL
-D to finish
\n
=== "
);
mp_hal_stdout_tx_str
(
"
\n
paste mode; C
trl-C to cancel, Ctrl
-D to finish
\n
=== "
);
vstr_reset
(
&
line
);
for
(;;)
{
char
c
=
mp_hal_stdin_rx_chr
();
...
...
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