It was in the terminal driver from VMS ;-)
The T in TCSH was TENEX, which indeed had such editing as part of the COMND (command) JSYS
(essentially an OS call). This propagated forward into TOPS-20. It isn’t really the
terminal driver, but more of a command line processor call.