Fixed some broken impl

pull/30/head
Ondřej Hruška 8 years ago
parent 0acf0bdd72
commit 29f726c073
  1. 5
      user/ansi_parser_callbacks.c
  2. 2
      user/user_main.h

@ -138,7 +138,6 @@ apars_handle_CSI(char leadchar, int *params, char keychar)
screen_clear_line(CLEAR_FROM_CURSOR); screen_clear_line(CLEAR_FROM_CURSOR);
} else { } else {
screen_clear_line(CLEAR_ALL); screen_clear_line(CLEAR_ALL);
screen_cursor_set_x(0);
} }
break; break;
@ -164,13 +163,13 @@ apars_handle_CSI(char leadchar, int *params, char keychar)
// DECTCEM cursor show hide // DECTCEM cursor show hide
case 'l': case 'l':
if (leadchar == '?' && n1 == 25) { if (leadchar == '?' && n1 == 25) {
screen_cursor_enable(1); screen_cursor_enable(0);
} }
break; break;
case 'h': case 'h':
if (leadchar == '?' && n1 == 25) { if (leadchar == '?' && n1 == 25) {
screen_cursor_enable(0); screen_cursor_enable(1);
} }
break; break;

@ -1,7 +1,7 @@
#ifndef USER_MAIN_H_H #ifndef USER_MAIN_H_H
#define 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" #define TERMINAL_GITHUB_REPO "https://github.com/MightyPork/esp-vt100-firmware"
#endif //USER_MAIN_H_H #endif //USER_MAIN_H_H

Loading…
Cancel
Save