Its called a cursor.
it changes from a line to a block depending on what your current insertion method is.
I forget which is which, theres insert text or overwrite text, toggle this by hitting the insert key right above the delete key. but anyway, one is a square, the other is a flat line.