On Aug 3, 2019, at 01:04, Chris Angelico email@example.com wrote:
Not sure, but ISTR it would let you scroll through them. Not something you can easily do in a plain terminal.
IPython manages to get a lot of those same Jupyter Notebook features into a plain terminal—as long as it’s either termios-friendly or the Windows console, but that’s most terminals nowadays. The fact that it’s nearly identical on Windows is especially nice. Also, not going full-screen on POSIX, so it doesn’t fight with iTerm’s scrollback buffer or mouse commands and so on, even when I’m running it on a remote machine over ssh.
Anyway, when tab completion is more than a single possibility, it pops up an inverse-colored overlay box that you can navigate through with arrows (or emacs keys), and if there are more than it can fit in that box, it scrolls.
There are other terminal-based REPLs that also do scrolling tab completion, like bpython and ptp. One of them (I forget which) even does the IDE thing of automatically popping up autocomplete suggestions when you pause (and removing them if you resume typing normal characters). But they don’t have all those IPython/Jupyter features, which are hard to live without once you get used to them. Also, most of them are curses or otherwise full-screen.