Skip to content

Commit 8b21de3

Browse files
committed
Missing part of 8.0.1131.
1 parent fc7649f commit 8b21de3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/terminal.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,12 @@ term_start(typval_T *argvar, jobopt_T *opt, int forceit)
448448
* a deadlock if the job is waiting for Vim to read. */
449449
channel_set_nonblock(term->tl_job->jv_channel, PART_IN);
450450

451+
#ifdef FEAT_AUTOCMD
452+
++curbuf->b_locked;
453+
apply_autocmds(EVENT_BUFWINENTER, NULL, NULL, FALSE, curbuf);
454+
--curbuf->b_locked;
455+
#endif
456+
451457
if (old_curbuf != NULL)
452458
{
453459
--curbuf->b_nwindows;

0 commit comments

Comments
 (0)