Skip to content

QoL feature requests #6

@Mojken

Description

@Mojken

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?

folly/src/main.rs

Line 1156 in fe47fed

session.zvm.handle_input(text);

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.

self.pages.maybe_new_page(LINE_HEIGHT * 4);

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions