New prompt_toolkit v2 released which not backward compatible. Upgrade needed. see also #31 and 3f3cdb6