Skip to content

Windows: System.Console driver #27

@migueldeicaza

Description

@migueldeicaza

Currently the only backend in use for gui.cs is the ncurses backend. There is a partial implementation of a System.Console based driver but it is not complete.

Currently we use mainloop.cs to monitor input on standard input and wake up the mainloop to read the input. We need a variant that works for Windows, likely using Console.ReadKey and using some AutoResetEvent to wake up the thread.

Generally, we can either make mainloop.cs fully cross platform, or we could surface Windows/Unix codepaths, and let the consumer (in this case, gui.cs) deal with it.

In addition to that, the backend itself needs to be completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions