From: Michael D. Lowis Date: Fri, 6 Jan 2017 13:40:30 +0000 (-0500) Subject: Added search direction to the status line X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=a75955fb6a9322a39d5129946d7ceec211386552;p=projs%2Ftide.git Added search direction to the status line --- diff --git a/xedit.c b/xedit.c index 0f3d040..056a187 100644 --- a/xedit.c +++ b/xedit.c @@ -309,6 +309,7 @@ static void draw_status(int fg, size_t ncols) { (status++)->rune = (buf->crlf ? 'C' : 'N'); (status++)->rune = (buf->expand_tabs ? 'S' : 'T'); (status++)->rune = (buf->copy_indent ? 'I' : 'i'); + (status++)->rune = (SearchDir < 0 ? '<' : '>'); (status++)->rune = (buf->modified ? '*' : ' '); (status++)->rune = ' '; char* path = (buf->path ? buf->path : "*scratch*");