News for hackers. Stuff that matters.
Re:Contour: Modern and Fast Terminal Emulator by drbaba on Sunday October 08, 2023 @10:31AM (#37810784)
Many interpreters don’t use Readline (e.g. IPython and Zsh), and enabling inconsistent Vi keybinsings in each one can be a bit annoying. From that perspective, adding it to the terminal seems a possibly easier way to get it “everywhere”?
Re:Contour: Modern and Fast Terminal Emulator by mhitza on Sunday October 08, 2023 @10:42AM (#37810894)
Possibly more universal, but there are also tools like rlwrap [1] that adds readline support to programs that don't have it. From the docs apparently the readline library ships a similar tool ootb nowadays but I haven't tried that and just noticed now when I wanted to share the rlwrap link.

[1] https://github.com/hanslub42/rlwrap

Re:Contour: Modern and Fast Terminal Emulator by williadc on Sunday October 08, 2023 @11:53AM (#37811571)
IPython absolutely uses readline
Re:Contour: Modern and Fast Terminal Emulator by drbaba on Sunday October 08, 2023 @03:52PM (#37813840)
Not anymore. Since IPython v5 (5+ years ago?), readline was replaced with prompt_toolkit.

EDIT: Here’s an official source: https://ipython.readthedocs.io/en/stable/whatsnew/version5.h...