From 29f726c073f29ac4f8a3faf4063b196458eefd1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Mon, 30 Jan 2017 01:10:10 +0100 Subject: [PATCH] Fixed some broken impl --- user/ansi_parser_callbacks.c | 5 ++--- user/user_main.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/user/ansi_parser_callbacks.c b/user/ansi_parser_callbacks.c index d2d71b5..f393cfe 100644 --- a/user/ansi_parser_callbacks.c +++ b/user/ansi_parser_callbacks.c @@ -138,7 +138,6 @@ apars_handle_CSI(char leadchar, int *params, char keychar) screen_clear_line(CLEAR_FROM_CURSOR); } else { screen_clear_line(CLEAR_ALL); - screen_cursor_set_x(0); } break; @@ -164,13 +163,13 @@ apars_handle_CSI(char leadchar, int *params, char keychar) // DECTCEM cursor show hide case 'l': if (leadchar == '?' && n1 == 25) { - screen_cursor_enable(1); + screen_cursor_enable(0); } break; case 'h': if (leadchar == '?' && n1 == 25) { - screen_cursor_enable(0); + screen_cursor_enable(1); } break; diff --git a/user/user_main.h b/user/user_main.h index 01379a6..94a2cc6 100644 --- a/user/user_main.h +++ b/user/user_main.h @@ -1,7 +1,7 @@ #ifndef USER_MAIN_H_H #define USER_MAIN_H_H -#define FIRMWARE_VERSION "0.5" +#define FIRMWARE_VERSION "0.5.1" #define TERMINAL_GITHUB_REPO "https://github.com/MightyPork/esp-vt100-firmware" #endif //USER_MAIN_H_H