iu icon indicating copy to clipboard operation
iu copied to clipboard

Standalone image example?

Open rubyFeedback opened this issue 2 years ago • 1 comments

Could a standalone image example be added to demonstrate the view-image functionality?

I know it is possible because ruby libui does it. Would be nice to have copy/paste-able code in crystal as-is to just modify it a little bit for already existing images.

rubyFeedback avatar Aug 27 '21 14:08 rubyFeedback

Looks like Image component is missing from the actual bindings, so I don't think this is possible for now.

The functionality is there in the LibUI, but the binding in crystal are missing, You can try to implement that by patching the bindings library.

grkek avatar Aug 30 '21 03:08 grkek