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
@ -48,7 +48,8 @@ into the specified rectangle. The syntax for specifying rectangles is
|
||||
All measurements are in cells (i.e. cursor positions) with the origin
|
||||
:italic:`(0, 0)` at the top-left corner of the screen. Note that the :option:`--align`
|
||||
option will horizontally align the image within this rectangle. By default, the image
|
||||
is horizontally centered within the rectangle.
|
||||
is horizontally centered within the rectangle. Using place will cause the cursor to
|
||||
be positioned at the top left corner of the image, instead of on the line after the image.
|
||||
|
||||
|
||||
--scale-up
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user