aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tui/input.h
blob: 033f53b4e22cf76a7e1d3c0dc7355b7b05a5a4aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef NVIM_TUI_INPUT_H
#define NVIM_TUI_INPUT_H

#include <stdbool.h>

#include <termkey.h>
#include "nvim/event/stream.h"
#include "nvim/event/time.h"

typedef struct term_input {
  int in_fd;
  bool paste_enabled;
  TermKey *tk;
  TimeWatcher timer_handle;
  Loop *loop;
  Stream read_stream;
} TermInput;

#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "tui/input.h.generated.h"
#endif

#endif  // NVIM_TUI_INPUT_H