Files
neovim/src/nvim/input.h
Justin M. Keyes d25ae8b8c2 refactor(input): rename getchar.c => input.c #40698
Problem:
`getchar.c` is a quirky name and doesn't align with our existing
`os/input.c` and `tui/input.c` modules, which encompass the same topic
at different layers.

Solution:
Rename `getchar.c` => `input.c` for discoverability.

Introduce `dialog.c` for functionality related to showing confirm
prompts, dialogs, etc.
2026-07-12 08:34:13 -04:00

24 lines
741 B
C

#pragma once
#include <stddef.h> // IWYU pragma: keep
#include <stdint.h> // IWYU pragma: keep
#include "nvim/api/private/defs.h" // IWYU pragma: keep
#include "nvim/eval/typval_defs.h" // IWYU pragma: keep
#include "nvim/event/defs.h" // IWYU pragma: keep (MultiQueue)
#include "nvim/input_defs.h" // IWYU pragma: keep
#include "nvim/types_defs.h" // IWYU pragma: keep
/// Argument for flush_buffers().
typedef enum {
FLUSH_MINIMAL,
FLUSH_TYPEAHEAD, ///< flush current typebuf contents
FLUSH_INPUT, ///< flush typebuf and inchar() input
} flush_buffers_T;
enum { NSCRIPT = 15, }; ///< Maximum number of streams to read script from
EXTERN bool test_disable_char_avail INIT( = false);
#include "input.h.generated.h"