Browse Source

Cleanup

master
cancel 5 years ago
parent
commit
e2ecdcfaad
  1. 11
      tui_main.c

11
tui_main.c

@ -154,17 +154,12 @@ typedef enum {
} Ged_input_mode; } Ged_input_mode;
typedef struct { typedef struct {
Usz y; Usz y, x, h, w;
Usz x;
Usz h;
Usz w;
} Ged_cursor; } Ged_cursor;
void ged_cursor_init(Ged_cursor *tc) { void ged_cursor_init(Ged_cursor *tc) {
tc->y = 0; tc->x = tc->y = 0;
tc->x = 0; tc->w = tc->h = 1;
tc->h = 1;
tc->w = 1;
} }
void ged_cursor_move_relative(Ged_cursor *tc, Usz field_h, Usz field_w, void ged_cursor_move_relative(Ged_cursor *tc, Usz field_h, Usz field_w,

Loading…
Cancel
Save