Skip to content

Revisit Terminal.Gui namespaces #4107

Closed
Closed
@tig

Description

@tig

Historically there's been a lot of debate/discussion about our namespace.

Right now, almost everything is very intentionally under Terminal.Gui.

I think we can do better.

One reason is the API docs are cluttered and hard to navigate:

Image

Easy stuff:

  • ConsoleDrivers - except for types directly exposed to Application and View almost all ConsoleDriver related types should be internal. These won't show up in API docs. But the rest, should probably be in Terminal.Gui.ConsoleDrivers
  • Application - We've made great strides in decoupling Application. I think it can go in Terminal.Gui.Application.
  • View - We've made great strides in decoupling View. I think it can go in Terminal.Gui.View.
  • Configuration - Should it be in Terminal.Gui.ConfigurationManager?
  • ... etc...

I get confused about all this and I know I go back and forth.

What do other contributors think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions