Right, but if all terminals behaved like modern pieces of software, we would take functionality like Warp's as given, instead of suggesting workarounds.

What you describe sorta works, but you lose things like file/dir-based autocomplete, since your editor doesn't know about your shell session.