robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. Keyesrefactor(input): rename getchar.c => input.c #40698d25ae8b8c2

master
741 B23 linesraw
1#pragma once
2
3#include <stddef.h>  // IWYU pragma: keep
4#include <stdint.h>  // IWYU pragma: keep
5
6#include "nvim/api/private/defs.h"  // IWYU pragma: keep
7#include "nvim/eval/typval_defs.h"  // IWYU pragma: keep
8#include "nvim/event/defs.h"  // IWYU pragma: keep (MultiQueue)
9#include "nvim/input_defs.h"  // IWYU pragma: keep
10#include "nvim/types_defs.h"  // IWYU pragma: keep
11
12/// Argument for flush_buffers().
13typedef enum {
14  FLUSH_MINIMAL,
15  FLUSH_TYPEAHEAD,  ///< flush current typebuf contents
16  FLUSH_INPUT,      ///< flush typebuf and inchar() input
17} flush_buffers_T;
18
19enum { NSCRIPT = 15, };  ///< Maximum number of streams to read script from
20
21EXTERN bool test_disable_char_avail INIT( = false);
22
23#include "input.h.generated.h"