Handle cursor movement down after a wrapped line

If this happens we need to count the wrapped line's line-increment, and
use it to apply the limit correctly in ui_cur_changed()
Prevent buffer drawing encroaching into the command line