Skip to content

Wrong CSI Code for EraseDisplay #4

Description

@luliangce

according the Wikipedia,you may have a mistake with

// EraseDisplay clears the screen
func EraseDisplay(code int) string {
	return Esc + "[" + strconv.Itoa(code) + "2J" //Should be single "J"
}

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