From a75955fb6a9322a39d5129946d7ceec211386552 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Fri, 6 Jan 2017 08:40:30 -0500 Subject: [PATCH] Added search direction to the status line --- xedit.c | 1 + 1 file changed, 1 insertion(+) 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*"); -- 2.54.0