inpy: support table completion on OSX

OSX uses libedit rather than GNU readline
for GPL avoidance reasons