mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
unix: Add exit and paste-mode hints to shell startup banner.
Thanks to @nyov for the initial patch.
This commit is contained in:
@@ -153,7 +153,8 @@ STATIC char *strjoin(const char *s1, int sep_char, const char *s2) {
|
||||
#endif
|
||||
|
||||
STATIC int do_repl(void) {
|
||||
mp_hal_stdout_tx_str("MicroPython " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; " MICROPY_PY_SYS_PLATFORM " version\n");
|
||||
mp_hal_stdout_tx_str("MicroPython " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; "
|
||||
MICROPY_PY_SYS_PLATFORM " version\nUse CTRL-D to exit, CTRL-E for paste mode\n");
|
||||
|
||||
#if MICROPY_USE_READLINE == 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user