mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08:17 +00:00
floats: implement floating windows
Co-Author: Dongdong Zhou <dzhou121@gmail.com>
This commit is contained in:
@@ -2200,6 +2200,7 @@ do_mouse (
|
||||
* one. Speeds up dragging the status line. */
|
||||
if (vpeekc() != NUL) {
|
||||
int nc;
|
||||
int save_mouse_grid = mouse_grid;
|
||||
int save_mouse_row = mouse_row;
|
||||
int save_mouse_col = mouse_col;
|
||||
|
||||
@@ -2209,6 +2210,7 @@ do_mouse (
|
||||
if (c == nc)
|
||||
continue;
|
||||
vungetc(nc);
|
||||
mouse_grid = save_mouse_grid;
|
||||
mouse_row = save_mouse_row;
|
||||
mouse_col = save_mouse_col;
|
||||
}
|
||||
|
Reference in New Issue
Block a user