Skip to content

Overload for ReadLine and ReadKey that takes a colour #85

@jamesfoster

Description

@jamesfoster

Would it be possible to add an overload for the Console.Read methods to allow specifying a colour?

var input = Console.ReadLine(UserInputColour);

instead of

Console.ForegroundColor = UserInputColour;
var input = Console.ReadLine();
Console.ForegroundColor = DefaultColour;

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