History

Cleanup

cancel committed 6 years ago

Commit e2ecdcf1 parent ef5119a1 file · +3 −8Browse files

Unified · Split

tui_main.c+3−8
@@ -154,17 +154,12 @@ typedef enum { · 153 unmodified lines
154154 } Ged_input_mode;
155155
156156 typedef struct {
157− Usz y;
158− Usz x;
159− Usz h;
160− Usz w;
157+ Usz y, x, h, w;
161158 } Ged_cursor;
162159
163160 void ged_cursor_init(Ged_cursor *tc) {
164− tc->y = 0;
165− tc->x = 0;
166− tc->h = 1;
167− tc->w = 1;
161+ tc->x = tc->y = 0;
162+ tc->w = tc->h = 1;
168163 }
169164
170165 void ged_cursor_move_relative(Ged_cursor *tc, Usz field_h, Usz field_w,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t