iterm2 v0.2.1
iterm2
Displays images within the terminal using the ITerm2 Inline Images Protocol.
Requires ITerm2.
Installation
- Add the dependency to your
shard.yml
:
dependencies:
iterm2:
github: toddsundsted/iterm2
- Run
shards install
Usage
require "iterm2"
File.open("unicorn.png") do |file|
Iterm2.new.display(file)
end
The #display
method also accepts a block and yields an instance of IO
that may be written to. See the documentation for the full API.
Contributors
- Todd Sundsted - creator and maintainer
Repository
iterm2
Owner
Statistic
- 6
- 0
- 0
- 1
- 1
- over 3 years ago
- February 16, 2020
License
Other
Links
Synced at
Thu, 21 Nov 2024 19:26:18 GMT
Languages