Move & rework geometry.

This moved from terminal-ui to terminal and went from x/y to line/col.