Technically, a full screen editor like that is just another ui. For the barest bones editor in the world, like DOS' COPY CON
'cat > filename'
text
ctrl-d
Then if you need to fix something, maybe sed.

I'd think even 'ed' was cheating as it's got its own line interface.