robin/laufey

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

taofix(pty): prevent orphan conhost.exe on Windows 10 #382447be4e4dd65

master
518 B24 linesraw
1#pragma once
2// IWYU pragma: private, include "nvim/os/pty_proc.h"
3
4#include <uv.h>
5
6#include "nvim/event/proc.h"
7#include "nvim/lib/queue_defs.h"
8#include "nvim/os/pty_conpty_win.h"
9
10typedef struct pty_process {
11  Proc proc;
12  uint16_t width, height;
13  conpty_t *conpty;
14  HANDLE finish_wait;
15  HANDLE proc_handle;
16} PtyProc;
17
18// Structure used by build_cmd_line()
19typedef struct arg_node {
20  char *arg;  // pointer to argument.
21  QUEUE node;  // QUEUE structure.
22} ArgNode;
23
24#include "os/pty_proc_win.h.generated.h"