module W3MImageDisplay
Defined in:
w3m_image_display.crw3m_image_display/image.cr
Constant Summary
-
BINARY_PATHS =
["/usr/lib/w3m/w3mimgdisplay", "/usr/libexec/w3m/w3mimgdisplay", "/usr/lib64/w3m/w3mimgdisplay", "/usr/libexec64/w3m/w3mimgdisplay", "/usr/local/libexec/w3m/w3mimgdisplay"]
-
VERSION =
"0.1.2"
Class Method Summary
-
.clear(x, y, w, h)
Clear the pixels, used by
Image#clear
-
.font_size : Tuple(Int32, Int32)
The pixel size of the font {x, y}
-
.height
Vertical cells / height / lines
-
.image_size(path) : Tuple(Int32, Int32)
The width and height of an image file
-
.pixel_size : Tuple(Int32, Int32)
The size of the terminal window measured in pixels {x, y}
-
.size : Tuple(Int32, Int32)
The size of the terminal window in columns and lines {x, y}
-
.start : Process
Get the process, and start it if uninitialised
- .sync
- .sync_communication
-
.terminate
Prevent future images being drawn
-
.width
Horizontal cells / width / columns
Class Method Detail
def self.pixel_size : Tuple(Int32, Int32)
#
The size of the terminal window measured in pixels {x, y}
def self.terminate
#
Prevent future images being drawn
Does not seem to work in xterm
TODO Raise when this is set?