link detection: rewrite moving around the grid
link detection: rewrite moving around the grid

There are difference between the grid and the backlog.
In the backlog, full lines are stored (and thus can be larger than the
width of the terminal).

godfath3r/terminology,godfath3r/terminology,godfath3r/terminology