mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05:00
patch 8.0.0797: finished job in terminal window is not handled
Problem: Finished job in terminal window is not handled.
Solution: Add the scrollback buffer. Use it to fill the buffer when the job
has ended.
This commit is contained in:
@@ -2921,6 +2921,10 @@ channel_close(channel_T *channel, int invoke_close_cb)
|
||||
}
|
||||
|
||||
channel->ch_nb_close_cb = NULL;
|
||||
|
||||
#ifdef FEAT_TERMINAL
|
||||
term_channel_closed(channel);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -4696,10 +4700,6 @@ job_cleanup(job_T *job)
|
||||
* not use "job" after this! */
|
||||
job_free(job);
|
||||
}
|
||||
|
||||
#ifdef FEAT_TERMINAL
|
||||
term_job_ended(job);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user