specifically, add a mode that avoids breaking the edges of the rectangle when you type and add a keystroke for adding a new in the existing row