aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process_win.h
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2017-04-02 18:16:39 +0900
committerJustin M. Keyes <justinkz@gmail.com>2017-08-16 09:13:44 +0200
commit84fb794da653fc3bcc2832816ca0cab01b4e0400 (patch)
tree4070258840a6d148689a86e7c554f26f1b8e546f /src/nvim/os/pty_process_win.h
parent1614e805b33bf159a7af06ed54a0fb5823d8e407 (diff)
downloadrneovim-84fb794da653fc3bcc2832816ca0cab01b4e0400.tar.gz
rneovim-84fb794da653fc3bcc2832816ca0cab01b4e0400.tar.bz2
rneovim-84fb794da653fc3bcc2832816ca0cab01b4e0400.zip
win/pyt: cleanup
Diffstat (limited to 'src/nvim/os/pty_process_win.h')
-rw-r--r--src/nvim/os/pty_process_win.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/nvim/os/pty_process_win.h b/src/nvim/os/pty_process_win.h
index 806857f130..59e0fad7f7 100644
--- a/src/nvim/os/pty_process_win.h
+++ b/src/nvim/os/pty_process_win.h
@@ -12,16 +12,17 @@ typedef struct pty_process {
Process process;
char *term_name;
uint16_t width, height;
- winpty_t *wp;
+ winpty_t *winpty_object;
HANDLE finish_wait;
HANDLE process_handle;
uv_timer_t wait_eof_timer;
} PtyProcess;
-typedef struct arg_S {
- char *arg;
- QUEUE node;
-} arg_T;
+// Structure used by build_cmd_line()
+typedef struct arg_node {
+ char *arg; // pointer to argument.
+ QUEUE node; // QUEUE structure.
+} ArgNode;
static inline PtyProcess pty_process_init(Loop *loop, void *data)
{
@@ -30,7 +31,7 @@ static inline PtyProcess pty_process_init(Loop *loop, void *data)
rv.term_name = NULL;
rv.width = 80;
rv.height = 24;
- rv.wp = NULL;
+ rv.winpty_object = NULL;
rv.finish_wait = NULL;
rv.process_handle = NULL;
return rv;