Fix three resizing bugs: 1) Off-by-one for the amount copied on a resize when shrinking with the cursor in the last line 2) Check get_line to make sure the line is in range (it won't be if the cursor is off the screen, which it temporarily will be) 3) Signal a cursor update when moving the cursor in a resize
Fix three resizing bugs:
1) Off-by-one for the amount copied on a resize when shrinking with the
cursor in the last line
2) Check get_line to make sure the line is in range (it won't be if the
cursor is off the screen, which it temporarily will be)
3) Signal a cursor update when moving the cursor in a resize

absmall/libterm,absmall/libterm