shithub: acme

Download patch

ref: 67c8b3f622c3a939d7421ca1b95755f72e70030e
parent: 3e9bb706c4e265e40855bd6e829220413ba4913a
author: glenda <glenda@cirno>
date: Tue Apr 1 18:52:45 EDT 2025

make esc act as ctrl+A (which is already taken)

--- a/text.c
+++ b/text.c
@@ -712,6 +712,9 @@
 		if(t->q0 != t->q1)
 			cut(t, t, nil, TRUE, TRUE, nil, 0);
 		return;
+	case Kesc:
+		textsetselect(t, 0, t->file->nc);
+		return;
 	case Kleft:
 		typecommit(t);
 		if(t->q0 > 0)
--