mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-01 06:41:30 +00:00
icat: When using --place ensure screen doesnt scroll by leaving cursor at top-left corner of image.
This commit is contained in:
parent
cab7856495
commit
a2c68a927e
2 changed files with 5 additions and 1 deletions
|
|
@ -35,6 +35,9 @@ func gc_for_image(imgd *image_data, frame_num int, frame *image_frame) *graphics
|
|||
if z_index != 0 {
|
||||
gc.SetZIndex(z_index)
|
||||
}
|
||||
if place != nil {
|
||||
gc.SetCursorMovement(graphics.GRT_cursor_static)
|
||||
}
|
||||
} else {
|
||||
gc.SetAction(graphics.GRT_action_frame)
|
||||
gc.SetGap(int32(frame.delay_ms))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue