diff options
| author | Paul Sokolovsky | 2015-01-12 04:15:35 +0200 |
|---|---|---|
| committer | Paul Sokolovsky | 2015-01-12 04:15:35 +0200 |
| commit | a7bcb218fe816087e7dd6962f49fb9d50853f09a (patch) | |
| tree | 9e570a0def724bf0e5aaae5fa743cf4f8fc8cf9d /stmhal/readline.h | |
| parent | 99ab64ffd4a85e3e97eab2c9db41fa46ca6e01fc (diff) | |
stmhal: Move readline code to lib/mp-readline/.
Diffstat (limited to 'stmhal/readline.h')
| -rw-r--r-- | stmhal/readline.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/stmhal/readline.h b/stmhal/readline.h deleted file mode 100644 index d5ce4704e..000000000 --- a/stmhal/readline.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * This file is part of the Micro Python project, http://micropython.org/ - * - * The MIT License (MIT) - * - * Copyright (c) 2013, 2014 Damien P. George - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#define CHAR_CTRL_A (1) -#define CHAR_CTRL_B (2) -#define CHAR_CTRL_C (3) -#define CHAR_CTRL_D (4) -#define CHAR_CTRL_E (5) - -void readline_init0(void); -int readline(vstr_t *line, const char *prompt); |
