Commit Graph
7 Commits
Author SHA1 Message Date
Quentin RameauandHiltjo Posthuma b7238b05a6 Print highlighted input text only on single match
When the input text fully matches a single item, do not draw the item
and highlight the input text to show that it matches an item in
opposition to regular input text not matching anything.
2016-07-26 18:29:42 +02:00
Quentin RameauandHiltjo Posthuma 8f22508821 Partially revert d76952c: fix items text width offset calculation
Without this, we discard the item if it's longer than assigned width
instead of truncating it.
2016-07-25 19:57:31 +02:00
Quentin RameauandHiltjo Posthuma d948f58bbb Shut up glibc about _BSD_SOURCE being deprecated 2015-12-19 20:32:17 +01:00
Quentin RameauandHiltjo Posthuma 30f13c7bb7 Add config option for word delimiters
Let the user configure word boundaries other than ' ', only works with
the portable character set.
2015-12-19 20:32:14 +01:00
Quentin RameauandHiltjo Posthuma a69a065b02 fix input text matching
just compare the size of the input string
2015-10-04 15:04:59 +02:00
Quentin RameauandHiltjo Posthuma 84184ff29d Fix the conversion from microseconds to nanoseconds 2015-09-28 00:27:09 +02:00
Quentin RameauandHiltjo Posthuma 57c147c7dd Replace deprecated usleep() with nanosleep() 2015-09-28 00:15:13 +02:00