From ab0f70effcfdf10d7c7440a2ade0c1ba67a1af0f Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Wed, 9 Nov 2022 13:57:13 +0100 Subject: [PATCH] pe: fix clear_screeb typo in modcasioplot --- README.md | 6 +++--- ports/sh/modcasioplot.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index edfef00bc..7656a5753 100644 --- a/README.md +++ b/README.md @@ -17,16 +17,16 @@ Most of the code is in `ports/sh` and is shared between the platforms. Bugs to fix: - Fix not world switching during filesystem accesses (very unstable) - Fix the console not garbage collecting its lines (enable and test the feature) +- Fix not resetting the shell when importing a file from command-line Python features: - Compare features with existing implementations and other brands - Get filesystem access (open etc) with the POSIX interface - Get a decent amount of RAM not just the fixed 32 kiB that's hardcoded so far -- Interrupt with AC/ON UI: -- Shell escapes: move cursor, history -- Better input system in the shell +- Better input system in the shell (don't use VT-100 escapes, then move cursor + and handle history) - Add an option for fixed-width font which also sets $COLUMNS properly so that MicroPython paginates (requires better getenv/setenv support in fxlib) - Use [unicode-fonts](/Lephenixnoir/unicode-fonts) to provide Unicode support diff --git a/ports/sh/modcasioplot.c b/ports/sh/modcasioplot.c index 77c22bb46..df7b1887b 100644 --- a/ports/sh/modcasioplot.c +++ b/ports/sh/modcasioplot.c @@ -114,7 +114,7 @@ MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(draw_string_obj, 5, 5, draw_string); STATIC const mp_rom_map_elem_t casioplot_module_globals_table[] = { { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_OBJ_NEW_QSTR(MP_QSTR_casioplot) }, { MP_ROM_QSTR(MP_QSTR_show_screen), MP_ROM_PTR(&show_screen_obj) }, - { MP_ROM_QSTR(MP_QSTR_clear_screeb), MP_ROM_PTR(&clear_screen_obj) }, + { MP_ROM_QSTR(MP_QSTR_clear_screen), MP_ROM_PTR(&clear_screen_obj) }, { MP_ROM_QSTR(MP_QSTR_set_pixel), MP_ROM_PTR(&set_pixel_obj) }, { MP_ROM_QSTR(MP_QSTR_get_pixel), MP_ROM_PTR(&get_pixel_obj) }, { MP_ROM_QSTR(MP_QSTR_draw_string), MP_ROM_PTR(&draw_string_obj) },