Yep. Readline’s modeled after what Emacs was already doing.