Skip to content

Parts of askBool-generated questions can be unreadable #9

@koachan

Description

@koachan

I noticed that parts of questions made by zinput can be unreadable when used with dark/light-themed terminal.
Sample program and its output:

const zinput = @import("zinput");

pub fn main() void {
    _ = zinput.askBool("The question is unreadable on light theme, and the y/n prompt is unreadable on dark theme") catch return;
}

How it looks on dark-themed terminal
How it looks on light-themed terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions