Skip to content

Commit 1b2a584

Browse files
committed
first commit, declare necessary functions to handle common input events
1 parent be505af commit 1b2a584

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

include/interact.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#ifndef SHELL_INTERACT_H
2+
#define SHELL_INTERACT_H
3+
4+
#include "common.h"
5+
#include "utils.h"
6+
#include "input_buffer.h"
7+
8+
9+
void handle_keyboard_input(input_t*, int*, int);
10+
11+
unsigned handle_arrow_up(input_t*, int*, unsigned);
12+
13+
unsigned handle_arrow_down(input_t*, int*, unsigned);
14+
15+
void handle_arrow_left(input_t*, int*);
16+
17+
void handle_arrow_right(input_t*, int*);
18+
19+
void handle_backspace(input_t*, int*);
20+
21+
22+
#endif // !SHELL_INTERACT_H

0 commit comments

Comments
 (0)