I assumed as much, just couldn't stop myself from writing a clarification anyway in case some younger readers would get confused.
Initially I found the idea to make it more authentic more fun, but now that you've mentioned ease of implementation — yeah, it wouldn't be that much fun that I could be arsed to, say, patch a terminal emulator.
A text editor plug-in would be easier, though. Get a subtle ding when a line of code is about to get too long, instead of dreading the approaching cliff of a strict ruler :)
Btw., this is quite neat, too: https://youtu.be/qb43-hn_-_c (The download link for the sound pack in the video description still works!)