Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion terminal.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ func getBgColor(code int) string {
// Check percent flag: num & PCT
//
// Reset percent flag: num & 0xFF
const PCT = 0x80000000
const shift = uint(^uint(0)>>63) << 4
const PCT = 0x8000 << shift

type winsize struct {
Row uint16
Expand Down