Mercurial > vim
comparison src/proto/terminal.pro @ 13448:a62b0bbc8834 v8.0.1598
patch 8.0.1598: cannot select text in a terminal with the mouse
commit https://github.com/vim/vim/commit/c48369c3fc507f398abbc933a60f653c6abe6701
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 11 19:30:45 2018 +0100
patch 8.0.1598: cannot select text in a terminal with the mouse
Problem: Cannot select text in a terminal with the mouse.
Solution: When a job in a terminal is not consuming mouse events, use them
for modeless selection. Also stop Insert mode when clicking in a
terminal window.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 11 Mar 2018 19:45:05 +0100 |
parents | 33eea5ce5415 |
children | 6faef782f50b |
comparison
equal
deleted
inserted
replaced
13447:17eebaa3188f | 13448:a62b0bbc8834 |
---|---|
10 int term_in_normal_mode(void); | 10 int term_in_normal_mode(void); |
11 void term_enter_job_mode(void); | 11 void term_enter_job_mode(void); |
12 int send_keys_to_term(term_T *term, int c, int typed); | 12 int send_keys_to_term(term_T *term, int c, int typed); |
13 int terminal_is_active(void); | 13 int terminal_is_active(void); |
14 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg); | 14 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg); |
15 void term_win_entered(void); | |
15 int term_use_loop(void); | 16 int term_use_loop(void); |
16 int terminal_loop(int blocking); | 17 int terminal_loop(int blocking); |
17 void term_job_ended(job_T *job); | 18 void term_job_ended(job_T *job); |
18 void term_channel_closed(channel_T *ch); | 19 void term_channel_closed(channel_T *ch); |
19 int term_update_window(win_T *wp); | 20 int term_update_window(win_T *wp); |