aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process_unix.h
blob: 1a77ae5fd555180152c0d0f443e9f94beff229ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once
// IWYU pragma: private, include "nvim/os/pty_process.h"

#include <stdint.h>
#include <sys/ioctl.h>

#include "nvim/event/defs.h"

typedef struct {
  Process process;
  uint16_t width, height;
  struct winsize winsize;
  int tty_fd;
} PtyProcess;

#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "os/pty_process_unix.h.generated.h"
#endif