about summary refs log tree commit diff
path: root/dinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'dinput.c')
-rw-r--r--dinput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dinput.c b/dinput.c
index b69dcb3..6b78598 100644
--- a/dinput.c
+++ b/dinput.c
@@ -76,11 +76,11 @@ drawinput(void)
 	/* print prompt? */
 	if(prompt) {
 		dc.w = promptw;
-		drawtext(&dc, prompt, normcol, False);
+		drawtext(&dc, prompt, selcol, False);
 		dc.x += dc.w;
 	}
 	dc.w = mw - dc.x;
-	drawtext(&dc, *text ? text : NULL, selcol, False);
+	drawtext(&dc, *text ? text : NULL, normcol, False);
 	drawcursor();
 	XCopyArea(dpy, dc.drawable, win, dc.gc, 0, 0, mw, mh, 0, 0);
 	XFlush(dpy);