jroimartin / gocui

Minimalist Go package aimed at creating Console User Interfaces.
BSD 3-Clause "New" or "Revised" License
9.85k stars 610 forks source link

Cannot print underline character #138

Open maja42 opened 6 years ago

maja42 commented 6 years ago

The following Update function:

func Update(view *gocui.View) error {
    view.Clear()
    view.Write([]byte("<_____>"))
    fmt.Fprint(view, "<_____>")
    return nil
}

prints spaces instead of underlines.

Output:

deleteme

maja42 commented 6 years ago

Ok, this issue is unrelated to gocui and can be closed (it's invalid). It is actually an issue with the terminal that I used.