All right, thanks all for the feedback! I think we can go with the second TAB then ![]()
Before I open a PR, I have a second interrogation: should we make effort to handle modules printing stuff during import gracefully? If you try to autocomplete from this import [1] in the demo, you’ll see it goes quite messy, but maybe it is rare enough to not bother with it? (exceptions during import are already handled gracefully)
I suppose we could just temporarily catch stdout/stderr and dump their content properly on new lines before re-painting the prompt (that may be better in a follow-up PR, though?)
or
from lazy_import demo
↩︎