Fix serial console terminal size issues
Serial consoles do not have the correct size set (rows, cols) based on the user's terminal, since serial doesn't have a way to pass that by default. This can cause issues with programs like vi, curses applications like pftop, and with shell command recall.
There are various methods of polling the terminal, however, and enabling one will make for a better user experience at the serial console.
For example, FreeBSD has resizewin which looks perfect for this.