shouldn't this also have a `and not readline.uses_libedit` test?