Skip to content

Homogenize SDL and web console implementations #110

@jmmv

Description

@jmmv

The SDL and web consoles are pretty much copy/pastes of each other. This is annoying on its own, but is extra problematic because, while we do have test coverage for the SDL console, we have none for the web console.

I'm imagining that we should have a generic framebuffer console implementation that is backed by a "raster ops" object (much like NetBSD's console system) which implements the actual drawing primitives. With that, common logic such as "open line" would be in one place. And once we have that, we can consider reimplementing the terminal console to use our own rendering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringInternal changes that are not user visible enhancements

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions