[openssh-commits] [openssh] 01/02: upstream: Fix a typo and make <esc><right> move right to the
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Jul 12 14:07:38 AEST 2019
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit b9b0f2ac9625933db53a35b1c1ce423876630558
Author: tb at openbsd.org <tb at openbsd.org>
Date: Wed Jul 10 07:04:27 2019 +0000
upstream: Fix a typo and make <esc><right> move right to the
closest end of a word just like <esc><left> moves left to the closest
beginning of a word.
ok djm
OpenBSD-Commit-ID: 6afe01b05ed52d8b12eb1fda6e9af5afb5e198ee
---
sftp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sftp.c b/sftp.c
index d3e11891..fa833d25 100644
--- a/sftp.c
+++ b/sftp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp.c,v 1.193 2019/06/19 20:12:44 jmc Exp $ */
+/* $OpenBSD: sftp.c,v 1.194 2019/07/10 07:04:27 tb Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm at openbsd.org>
*
@@ -2189,7 +2189,7 @@ interactive_loop(struct sftp_conn *conn, char *file1, char *file2)
el_set(el, EL_BIND, "^I", "ftp-complete", NULL);
/* enable ctrl-left-arrow and ctrl-right-arrow */
el_set(el, EL_BIND, "\\e[1;5C", "em-next-word", NULL);
- el_set(el, EL_BIND, "\\e[5C", "em-next-word", NULL);
+ el_set(el, EL_BIND, "\\e\\e[C", "em-next-word", NULL);
el_set(el, EL_BIND, "\\e[1;5D", "ed-prev-word", NULL);
el_set(el, EL_BIND, "\\e\\e[D", "ed-prev-word", NULL);
/* make ^w match ksh behaviour */
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list