diff options
-rw-r--r-- | dinput.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -76,11 +76,11 @@ drawinput(void) | |||
76 | /* print prompt? */ | 76 | /* print prompt? */ |
77 | if(prompt) { | 77 | if(prompt) { |
78 | dc.w = promptw; | 78 | dc.w = promptw; |
79 | drawtext(&dc, prompt, normcol, False); | 79 | drawtext(&dc, prompt, selcol, False); |
80 | dc.x += dc.w; | 80 | dc.x += dc.w; |
81 | } | 81 | } |
82 | dc.w = mw - dc.x; | 82 | dc.w = mw - dc.x; |
83 | drawtext(&dc, *text ? text : NULL, selcol, False); | 83 | drawtext(&dc, *text ? text : NULL, normcol, False); |
84 | drawcursor(); | 84 | drawcursor(); |
85 | XCopyArea(dpy, dc.drawable, win, dc.gc, 0, 0, mw, mh, 0, 0); | 85 | XCopyArea(dpy, dc.drawable, win, dc.gc, 0, 0, mw, mh, 0, 0); |
86 | XFlush(dpy); | 86 | XFlush(dpy); |