Skip to content

Commit 6f13880

Browse files
authoredMar 22, 2025
[Backport release-24.11] editline: recognize Alt-Left/Alt-Right on more platforms (#391983)
2 parents 904178a + dc0daf7 commit 6f13880

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎pkgs/by-name/ed/editline/package.nix

+10
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ stdenv.mkDerivation rec {
3131
url = "https://github.com/troglobit/editline/commit/f444a316f5178b8e20fe31e7b2d979e651da077e.patch";
3232
hash = "sha256-m3jExTkPvE+ZBwHzf/A+ugzzfbLmeWYn726l7Po7f10=";
3333
})
34+
35+
# Recognize `Alt-Left` and `Alt-Right` for navigating by words in more
36+
# terminals/shells/platforms.
37+
#
38+
# See: https://github.com/troglobit/editline/pull/70
39+
(fetchpatch {
40+
name = "alt-left-alt-right-word-navigation.patch";
41+
url = "https://github.com/troglobit/editline/commit/fb4d7268de024ed31ad2417f533cc0cbc2cd9b29.diff";
42+
hash = "sha256-5zMsmpU5zFoffRUwFhI/vP57pEhGotcMPgn9AfI1SNg=";
43+
})
3444
];
3545

3646
configureFlags = [ (lib.enableFeature true "sigstop") ];

0 commit comments

Comments
 (0)
Failed to load comments.