lix/doc/manual/rl-next/alt-left-and-alt-right-in-repl.md
Rebecca Turner 6de6cae3e7
repl: Patch editline to recognize Meta-Left & Meta-Right
This applies https://github.com/troglobit/editline/pull/70 to our build
of editline, which translates `meta-left` and `meta-right` into
`fd_word` and `bk_word`. This makes `nix repl` soooo much nicer to use!

Note: My terminal renders `meta-left` as `\e\e[C` and `meta-right` as
`\e\e[D`.

Closes lix-project/lix#501

Change-Id: I048b10cf17231bbf4e6bf38e1d1d8572cedaa194
2024-09-09 15:34:50 -07:00

292 B

synopsis issues cls category credits
`Alt+Left` and `Alt+Right` go back/forwards by words in `nix repl`
fj#501
1883
Fixes 9999years

nix repl now recognizes Alt+Left and Alt+Right for navigating by words when entering input in nix repl on more terminals/platforms.