Skip to content

Roadmap #15

@oyvindberg

Description

@oyvindberg

Roadmap

Current state

What is here now is a quick and dirty port of tui-rs to scala. It also contains a pure Java/JNI wrapper for crossterm.

It's a significant improvement of the state of the art on the JVM (as far as I know) to easily create rich, pretty, cross-platform TUI interfaces easily. It also works with GraalVM native images, which really will enable us to make great and pretty TUI tools in Scala.

Immediate next steps

Adressing limitations of the design

tui has a simple interface and core, but doesn't model important things like event handling. It's fine for smaller apps because you can just write custom code for it (see all the demos), but it would be better to solve it properly.

The tui repo itself points to cursive instead for an improved design, so it's an obvious place to look for inspiration.

So why not just port cursive instead?

When I decided to try to port tui it was because it seemed manageable to port quicly:

  • The core is quite small
  • It was decently covered by tests
  • It has a manageable internal dependency graph to enable porting piece by piece
  • It was familiar to me

Cursive didn't seem manageable to me by those standards, so it just wouldn't have happened.

I'm fully convinced we'll be able to refactor tui-scala to for instance handle events gracefully.

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