From aede91e22a41cbf4b11d64faa42575d1bdbd8446 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Aptel?= <aurelien.aptel@gmail.com>
Date: Fri, 22 Apr 2011 00:42:58 +0200
Subject: [PATCH] update TODO

---
 TODO | 11 ++++++++---
 st.c |  1 +
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/TODO b/TODO
index 3b2774b..ef68386 100644
--- a/TODO
+++ b/TODO
@@ -9,7 +9,12 @@ code & interface
 ----------------
 
 * clean selection code
-* use the real x11 clipboard
-* clean terminfo entry
-* utf8
+* clean and complete terminfo entry
+* fix shift up/down (shift selection in emacs)
 * ...
+
+misc
+----
+
+    $ grep -nE 'XXX|TODO' st.c
+
diff --git a/st.c b/st.c
index 11ea9fc..e6bb91f 100644
--- a/st.c
+++ b/st.c
@@ -1835,6 +1835,7 @@ kpress(XEvent *ev) {
 		case XK_Down:
 		case XK_Left:
 		case XK_Right:
+			/* XXX: shift up/down doesn't work */
 			sprintf(buf, "\033%c%c", IS_SET(MODE_APPKEYPAD) ? 'O' : '[', (shift ? "dacb":"DACB")[ksym - XK_Left]);
 			ttywrite(buf, 3);
 			break;