Skip to content

Commit

Permalink
Small cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
bediger4000 committed Jun 16, 2017
1 parent 512940f commit 13aa147
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kilo.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,6 @@ func editorPrompt(prompt string, callback func([]byte,int)) string {
return string(buf)
}
} else {
//if c >= 0x20 && c < 128 {
if unicode.IsPrint(rune(c)) {
buf = append(buf, byte(c))
}
Expand Down Expand Up @@ -970,7 +969,6 @@ func editorDrawRows(ab *bytes.Buffer) {
}
ab.WriteString("\x1b[K")
ab.WriteString("\r\n")

}
}

Expand Down

0 comments on commit 13aa147

Please sign in to comment.