mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 01:18:52 +00:00
Leave the cursor above empty lines.
This commit is contained in:
parent
e11295f42d
commit
b9a00cbe8a
@ -130,8 +130,6 @@ static void window_copy_rectangle_toggle(struct window_mode_entry *);
|
|||||||
static void window_copy_move_mouse(struct mouse_event *);
|
static void window_copy_move_mouse(struct mouse_event *);
|
||||||
static void window_copy_drag_update(struct client *, struct mouse_event *);
|
static void window_copy_drag_update(struct client *, struct mouse_event *);
|
||||||
static void window_copy_drag_release(struct client *, struct mouse_event *);
|
static void window_copy_drag_release(struct client *, struct mouse_event *);
|
||||||
static struct screen *window_copy_clone_screen(struct screen *,
|
|
||||||
struct screen *);
|
|
||||||
|
|
||||||
const struct window_mode window_copy_mode = {
|
const struct window_mode window_copy_mode = {
|
||||||
.name = "copy-mode",
|
.name = "copy-mode",
|
||||||
@ -322,7 +320,7 @@ window_copy_clone_screen(struct screen *src, struct screen *hint)
|
|||||||
}
|
}
|
||||||
|
|
||||||
screen_write_start(&ctx, NULL, dst);
|
screen_write_start(&ctx, NULL, dst);
|
||||||
screen_write_cursormove(&ctx, 0, dst->grid->sy - 1, 0);
|
screen_write_cursormove(&ctx, 0, dst->grid->sy + sy - dy - 1, 0);
|
||||||
screen_write_stop(&ctx);
|
screen_write_stop(&ctx);
|
||||||
|
|
||||||
return (dst);
|
return (dst);
|
||||||
|
Loading…
Reference in New Issue
Block a user