summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-01-18 02:14:29 -0500
committerJune McEnroe <june@causal.agency>2020-01-18 02:14:29 -0500
commit11fe55be9f1e7570c3a5d8d011b737e560012cde (patch)
tree7b5c93491439b10cd9aebbb59d3cc6f5cbccd1f8
parentRearrange code in scoop (diff)
downloadlitterbox-11fe55be9f1e7570c3a5d8d011b737e560012cde.tar.gz
litterbox-11fe55be9f1e7570c3a5d8d011b737e560012cde.zip
Use < for before
-rw-r--r--scoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scoop.c b/scoop.c
index 7b0afe2..922c7cd 100644
--- a/scoop.c
+++ b/scoop.c
@@ -299,7 +299,7 @@ static const char *Inner = SQL(
 		AND coalesce(contexts.query = :query, true)
 		AND coalesce(date(events.time) = date(:date), true)
 		AND coalesce(events.time >= datetime(:after), true)
-		AND coalesce(events.time <= datetime(:before), true)
+		AND coalesce(events.time < datetime(:before), true)
 		AND coalesce(events.type = :type, true)
 		AND coalesce(names.nick = :nick, true)
 		AND coalesce(names.user = :user, true)
?id=4d03059127f70e5ef0e8593386649a723c534612&follow=1'>Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe Absolutely indiscriminately. 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe