summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2018-07-11 16:28:55 +0000
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-14 15:52:41 +0200
commit839751646098f005b7e529398183f89f9909dfdf (patch)
tree6c1cece8e503f95733609731600ee473fa82494f
parente90dea2537d5d3f74df6cfaee4d4aac8328e08a6 (diff)
Bind <Key>Escape to erase-line by default.
-rw-r--r--greeter/Login.c1
-rw-r--r--man/xenodm.man3
2 files changed, 3 insertions, 1 deletions
diff --git a/greeter/Login.c b/greeter/Login.c
index 49395cd..ce4e8a4 100644
--- a/greeter/Login.c
+++ b/greeter/Login.c
@@ -1855,6 +1855,7 @@ char defaultLoginTranslations [] =
"<Key>Delete: delete-previous-character() \n"
"<Key>Return: finish-field() \n"
"<Key>Tab: tab-field() \n"
+"<Key>Escape: erase-line() \n"
"<KeyPress>: insert-char()"
;
diff --git a/man/xenodm.man b/man/xenodm.man
index 225872c..ae50041 100644
--- a/man/xenodm.man
+++ b/man/xenodm.man
@@ -23,7 +23,7 @@
.\" from The Open Group.
.\"
.\"
-.Dd $Mdocdate: August 22 2017 $
+.Dd $Mdocdate: July 11 2018 $
.Dt XENODM 1
.Os __xorgversion__
.Sh NAME
@@ -938,6 +938,7 @@ Ctrl<Key>\e\e: abort-session() \en\e
<Key>BackSpace: delete-previous-character() \en\e
<Key>Delete: delete-previous-character() \en\e
<Key>Return: finish-field() \en\e
+<Key>Escape: erase-line() \en\e
<Key>: insert-char() \e
.Ed
.Pp