Skip to content

Consider making Terminal a global singleton object #32

@KineticTheory

Description

@KineticTheory
  • This allows construction on first use and would eliminate the need to create Term::Terminal term in the main program.
  • Downside: I'm not 100% certain this can be implemented in a header only package. I think the instance pointer might need to be initialized in a cpp file. I'll need to investigate further.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions