diff options
| author | Quentin Carbonneaux | 2014-08-05 17:25:38 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux | 2014-08-05 17:30:27 -0400 |
| commit | 5e3013127f0bf1110a81cd737d6b84d51576865d (patch) | |
| tree | 005bcc084bbbc5385c43b1a88219453e5412f074 | |
| parent | 95488897534f2028d8aa6ae87667b5d450f6976a (diff) | |
hilight lines fully selected
| -rw-r--r-- | win.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -391,7 +391,9 @@ draw(W *w, GColor bg) if (r == '\t') { pushfrag(&f, ' ', rw); flushfrag(&f, w, x, y, sel); - } else if (r != '\n') + } else if (r == '\n') + f.w = w->gr.w - HMargin; + else pushfrag(&f, r, rw); } |
