mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.1000: cannot open a terminal without running a job in it
Problem: Cannot open a terminal without running a job in it. Solution: Make ":terminal NONE" open a terminal with a pty.
This commit is contained in:
@@ -6643,6 +6643,12 @@ gui_mch_wait_for_chars(long wtime)
|
||||
focus = gui.in_focus;
|
||||
}
|
||||
|
||||
# if defined(FEAT_JOB_CHANNEL)
|
||||
/* Using an event handler for a channel that may be disconnected does
|
||||
* not work, it hangs. Instead poll for messages. */
|
||||
channel_handle_events(TRUE);
|
||||
# endif
|
||||
|
||||
#ifdef MESSAGE_QUEUE
|
||||
# ifdef FEAT_TIMERS
|
||||
did_add_timer = FALSE;
|
||||
|
Reference in New Issue
Block a user