Closed adoxography closed 6 years ago
Sorry for the late reply - sure, go ahead and open a PR! I'm currently in the process of rewriting most of the code of Hedron on my Windows device (because of lacklustre documentation and custom widgets), so it's fairly slow at the moment.
Hedron::Entry#text
andHedron::MultilineEntry#text
both fail when called, with the messageIt looks like the issue is that both methods try to implicitly cast the
Pointer(Uint8)
(a.k.aLibC::Char*
) intoString
via their return type, but that's not allowed. As mentioned in this Stack Overflow answer, the pointer should used to create a newString
, so the following changes fix it for me:Happy to open a PR if desired. :)