ref: 2eed72f0fd6e6c8648a58a1947a97db56851bdd5
parent: 4293659ea46129bdb2cec5ff3bf87bd567fcdd25
author: cancel <cancel@cancel.fm>
date: Tue Dec 11 21:00:28 EST 2018
Remove old debugging shortcuts
--- a/tui_main.c
+++ b/tui_main.c
@@ -1833,42 +1833,6 @@
app_input_character(&app_state, '.');
break;
- case KEY_F(1):
- app_state.grid_scroll_x -= 1;
- app_state.is_draw_dirty = true;
- break;
- case KEY_F(2):
- app_state.grid_scroll_x += 1;
- app_state.is_draw_dirty = true;
- break;
- case KEY_F(3):
- app_state.grid_scroll_y -= 1;
- app_state.is_draw_dirty = true;
- break;
- case KEY_F(4):
- app_state.grid_scroll_y += 1;
- app_state.is_draw_dirty = true;
- break;
- case KEY_F(5):
- if (app_state.tui_cursor.w > 0) {
- --app_state.tui_cursor.w;
- app_state.is_draw_dirty = true;
- }
- break;
- case KEY_F(6):
- ++app_state.tui_cursor.w;
- app_state.is_draw_dirty = true;
- break;
- case KEY_F(7):
- if (app_state.tui_cursor.h > 0) {
- --app_state.tui_cursor.h;
- app_state.is_draw_dirty = true;
- }
- break;
- case KEY_F(8):
- ++app_state.tui_cursor.h;
- app_state.is_draw_dirty = true;
- break;
default:
if (key >= CHAR_MIN && key <= CHAR_MAX && is_valid_glyph((Glyph)key)) {
app_input_character(&app_state, (char)key);