1
0
forked from aniani/vim

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:
Bram Moolenaar
2017-07-28 21:51:57 +02:00
parent d973bcb483
commit d85f271bf8
7 changed files with 281 additions and 80 deletions

View File

@@ -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
}
/*