Skip to content

Experiment with global state #66

@Piturnah

Description

@Piturnah

In gex there is a lot of passing around of state which gets awkward in the form of overly complicated function signatures and lifetime semantics.

This feels unfortunate as most of these things (the current view, the minibuffer, the status, etc) should only ever have one instance anyway. As gex runs basically single-threaded, I think there would be very little cost to just having global access to these state via a static variable or similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions