folly icon indicating copy to clipboard operation
folly copied to clipboard

QoL feature requests

Open Mojken opened this issue 10 months ago • 0 comments

I find myself often being unsure if my handwriting was too vague or if my prompt was just bad. It would be nice if, below each input, the string given to the game was printed in cursive.

Something like:

On the table is a cup.

> examine cup
cxanine cup

That's not a verb I recognize.

As far as I can tell, here's the place to do that? https://github.com/bkirwi/folly/blob/fe47fedbc9b77207de89c34c8133fa0d66e5079b/src/main.rs#L1156 something like

self.push_element(Element::Line(
  true,
  Text::literal(LINE_HEIGHT, &*ITALIC, text),
));

This would also have to be changed to 5, I suspect. https://github.com/bkirwi/folly/blob/fe47fedbc9b77207de89c34c8133fa0d66e5079b/src/main.rs#L923

Additionally, it would be convenient to be able to turn the page using the hardware buttons, to have a button to go to the last page directly (for when you go back to remember something), and if text that doesn't fit on mostly-full pages would page-wrap before the text, to avoid having only one or two lines appear on a separate page.

For the page-wrapping, I think you'd want to add that extra LINE_HEIGHT*5 to where you print the text, rather than doing that wrapping separately for the prompt.

Let me know if you want me to create separate issues for these things, I did not want to spam you with tiny issues. I'd make these changes myself, but I can't seem to build the project. Likely an issue with NixOS compatibility?

Mojken avatar Feb 19 '25 23:02 Mojken