Skip to content

Commit

Permalink
_demos/output.go: Sync() after changing output mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy committed Nov 30, 2014
1 parent 756378e commit 609e376
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _demos/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ func switch_output_mode(direction int) {
output_mode_index = 0
}
output_mode = termbox.SetOutputMode(available_modes[output_mode_index])
termbox.Clear(termbox.ColorDefault, termbox.ColorDefault)
termbox.Sync()
}

func main() {
Expand Down

0 comments on commit 609e376

Please sign in to comment.