Closed
Description
Hello, I am faced with a display issue of Lazygit, which tracks to a similar problem here in #145 , where the unicode disappears after I want it to show on the same place twice. The problem appears just one day, and I think it is due to some wrong configuration of my Windows system. The pwsh and cmd, or the terminal type seems not to make a difference.
The function I use is this:
func main() {
var screen tcell.Screen
if s, e := tcell.NewConsoleScreen(); e != nil {
screen = nil
} else if e = s.Init(); e != nil {
screen = nil
} else {
screen = s
}
screen.SetContent(2, 7, '啊', nil, tcell.StyleDefault)
screen.Show()
screen.SetContent(2, 7, '啊', nil, tcell.StyleDefault)
screen.Show()
}
and the difference is shown below:
and
(the displayed case just deletes a random statement of the last four in the main
function. Any one will do.)
I am pretty convinced that this problem is hard to reproduce, as my computer has also been good for a long time, so feel free to ask me about any configuration of my computer.
Metadata
Metadata
Assignees
Labels
No labels