summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/input.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-05-07 07:15:00 -0700
committerDave Hylands <dhylands@gmail.com>2014-05-07 07:19:51 -0700
commit117c46d9eb00e8ffaabc1002a4946440cb1eb5b0 (patch)
treeb247a7b62a896d2bbf06469a6ee384da3da8f46a /stmhal/input.c
parent0ef015b2533f7faeede18382c1d1f4eac919244b (diff)
downloadmicropython-117c46d9eb00e8ffaabc1002a4946440cb1eb5b0.tar.gz
micropython-117c46d9eb00e8ffaabc1002a4946440cb1eb5b0.zip
Add input command for unix
Diffstat (limited to 'stmhal/input.c')
-rw-r--r--stmhal/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/input.c b/stmhal/input.c
index 6bd9e6c4f0..94f66b97f1 100644
--- a/stmhal/input.c
+++ b/stmhal/input.c
@@ -36,7 +36,7 @@
STATIC mp_obj_t mp_builtin_input(uint n_args, const mp_obj_t *args) {
if (n_args == 1) {
- mp_obj_print(args[0], PRINT_REPR);
+ mp_obj_print(args[0], PRINT_STR);
}
vstr_t line;
vstr_init(&line, 16);