diff options
Diffstat (limited to 'src/console/ptyc_console_alloc.c')
-rw-r--r-- | src/console/ptyc_console_alloc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/console/ptyc_console_alloc.c b/src/console/ptyc_console_alloc.c index a8f1610..7beee15 100644 --- a/src/console/ptyc_console_alloc.c +++ b/src/console/ptyc_console_alloc.c @@ -144,6 +144,12 @@ static int ptyc_init_console(struct ptyc_term_ctx * tctx) true))) return NT_STATUS_UNSUCCESSFUL; + /* cursor info */ + if (!(ntcon->get_console_cursor_info( + tctx->hout, + &tctx->cursor_info))) + return NT_STATUS_UNSUCCESSFUL; + return NT_STATUS_SUCCESS; } |