[terminal] Add $default-pen.
Render editor window to a renderbuffer instead of directly to the term.