diff --git a/src/winio.c b/src/winio.c
index ee54bbef2c2d1823870e490324e689fc7cfbe81d..ce99134f2d27f9d81d77d6cbfd1406edab97a4b6 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -665,6 +665,10 @@ int parse_kbinput(WINDOW *win)
 			shift_held = TRUE;
 		case KEY_C1:    /* End (1) on keypad with NumLock off. */
 			return KEY_END;
+#ifdef KEY_EOL
+		case KEY_EOL:    /* Ctrl+End on rxvt-unicode. */
+			return CONTROL_END;
+#endif
 #ifndef NANO_TINY
 #ifdef KEY_SPREVIOUS
 		case KEY_SPREVIOUS: