Skip to content

Move the global variables to Terminal #3

@easeway

Description

@easeway

This is cool piece. It will great if the following global variables can be moved to Terminal struct:

var (
    InputFD int       = unix.Stdin
    Input   io.Reader = os.Stdin
    Output  io.Writer = os.Stdout
)

I'm running this library with a few off screen terminal emulators, global variables doesn't work for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions