internal/graphicscommand: add 'screen' info to (*newImageCommand).String()

This commit is contained in:
Hajime Hoshi 2022-06-06 11:13:04 +09:00
parent 73c893e977
commit 6398230f84

View File

@ -619,7 +619,7 @@ type newImageCommand struct {
}
func (c *newImageCommand) String() string {
return fmt.Sprintf("new-image: result: %d, width: %d, height: %d", c.result.id, c.width, c.height)
return fmt.Sprintf("new-image: result: %d, width: %d, height: %d, screen: %t", c.result.id, c.width, c.height, c.screen)
}
// Exec executes a newImageCommand.