Remove print statement for debugging

pull/2246/head
Junegunn Choi 4 years ago
parent d099941360
commit 520eae817a
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -526,7 +526,6 @@ func (t *Terminal) parsePrompt(prompt string) (func(), int) {
blankState := ansiOffset{[2]int32{int32(loc[0]), int32(loc[1])}, ansiState{-1, -1, tui.AttrClear}}
if item.colors != nil {
lastColor := (*item.colors)[len(*item.colors)-1]
fmt.Println(lastColor.offset[1], int32(loc[1]))
if lastColor.offset[1] < int32(loc[1]) {
blankState.offset[0] = lastColor.offset[1]
colors := append(*item.colors, blankState)

Loading…
Cancel
Save