aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/input.h
blob: 57602336d5b18242bf6d98c4be3fbdff5ec4bde0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef NVIM_OS_INPUT_H
#define NVIM_OS_INPUT_H

#include <stdint.h>
#include <stdbool.h>

void input_init(void);
bool input_ready(void);
void input_start(void);
void input_stop(void);
uint32_t input_read(char *buf, uint32_t count);
int os_inchar(uint8_t *, int, int32_t, int);
bool os_char_avail(void);
void os_breakcheck(void);

bool os_isatty(int fd);

#endif  // NVIM_OS_INPUT_H