• ∃∀λ@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    7 hours ago

    The part of the tech stack that handles all these command editing and navigation shortcuts is the readline library. Check out man readline. There’s an entire section on searching. readline is used for lots of other interpreters, too.