Merge constants into pi.go
Redraw when the left edge of the buffer changes