Jari Vetoniemi
|
311e4b3676
|
Use strcspn instead of strtok
|
2014-04-12 19:59:21 +03:00 |
|
Jari Vetoniemi
|
cd73a1ba61
|
Read items from stdin nicer (assumes stdin can fit on one buffer)
|
2014-04-12 19:21:40 +03:00 |
|
Jari Vetoniemi
|
042448798d
|
Add more keybindings to curses interface.
|
2014-04-12 18:44:52 +03:00 |
|
Jari Vetoniemi
|
3ad042c625
|
S-Return (C-t, insert in curses) should return input, C-Return is mark. (C-r, C-space in curses)
|
2014-04-12 18:44:03 +03:00 |
|
Jari Vetoniemi
|
ad4e0425a6
|
Make page scrolling work like it should. (Shfit+pgup/pgdwn for old
behaviour)
|
2014-04-12 18:42:30 +03:00 |
|
Jari Vetoniemi
|
fc08cb9cff
|
Dmenu outputs input text, if no matches were found.
|
2014-04-12 14:38:42 +03:00 |
|
Jari Vetoniemi
|
9e9b671fa3
|
Remove highlight logic from filters, it does not belong there.
Plus it seems dmenu always just highlights first item on filter change.
|
2014-04-12 14:36:12 +03:00 |
|
Jari Vetoniemi
|
544b1973c4
|
Why is this here? Remove commented memmove.
|
2014-04-12 14:16:25 +03:00 |
|
Jari Vetoniemi
|
f2608c3c64
|
Handle empty items.
|
2014-04-12 14:15:37 +03:00 |
|
Jari Vetoniemi
|
9d867bea0c
|
Sort results like dmenu does.
|
2014-04-12 12:56:34 +03:00 |
|
Jari Vetoniemi
|
471046d1b2
|
Make comparator functions follow standard more.
|
2014-04-12 12:55:05 +03:00 |
|
Jari Vetoniemi
|
058d8a98ed
|
Try ncursesw and then ncruses as fallback.
|
2014-04-12 11:15:22 +03:00 |
|
Jari Vetoniemi
|
29c34b0861
|
Consistency.
|
2014-04-12 00:01:06 +03:00 |
|
Jari Vetoniemi
|
46486abc64
|
Delete is emitted on mac terminal.
|
2014-04-12 00:00:39 +03:00 |
|
Jari Vetoniemi
|
5a0a2659ed
|
Cleanup dmenu filter.
|
2014-04-11 23:58:36 +03:00 |
|
Jari Vetoniemi
|
3c6e167578
|
Silly me, why not just get the highlighted item once..
|
2014-04-11 23:58:09 +03:00 |
|
Jari Vetoniemi
|
28a44b9e41
|
Add cast for conversion when type isn't unsigned.
|
2014-04-11 23:11:54 +03:00 |
|
Jari Vetoniemi
|
c82ebb768c
|
Support mac, duplicate stdin/stdout to make piping possible.
|
2014-04-11 23:09:01 +03:00 |
|
Jari Vetoniemi
|
48cf42f0c9
|
Buffer grown too much.
|
2014-04-11 02:02:11 +03:00 |
|
Jari Vetoniemi
|
cc93ff905f
|
Draw lines properly.
|
2014-04-11 01:59:50 +03:00 |
|
Jari Vetoniemi
|
40bd036c53
|
Free the old list.
|
2014-04-11 01:59:05 +03:00 |
|
Jari Vetoniemi
|
dfdb810099
|
This is actually better without the count check.
|
2014-04-11 00:40:21 +03:00 |
|
Jari Vetoniemi
|
590c5d9f85
|
Undef get_wch
|
2014-04-10 23:50:55 +03:00 |
|
Jari Vetoniemi
|
8e0dd1ab39
|
Make it possible to set filter text manually.
|
2014-04-10 23:05:37 +03:00 |
|
Jari Vetoniemi
|
71beb7583f
|
Make it possible filter manually, and optimized filtering.
|
2014-04-10 23:05:13 +03:00 |
|
Jari Vetoniemi
|
45e2117159
|
Don't run filtering if there is no filter.
|
2014-04-10 22:15:01 +03:00 |
|
Jari Vetoniemi
|
45502a2fd9
|
Proper filtering functions.
|
2014-04-10 22:02:47 +03:00 |
|
Jari Vetoniemi
|
05212f5e44
|
Improve documentation.
|
2014-04-10 20:19:15 +03:00 |
|
Jari Vetoniemi
|
1f51a67589
|
Don't sort documentation members.
|
2014-04-10 20:15:25 +03:00 |
|
Jari Vetoniemi
|
49fc7cd08c
|
Include index parameter in documentation.
|
2014-04-10 20:12:42 +03:00 |
|
Jari Vetoniemi
|
9525c77f55
|
Setter first, then getter.
|
2014-04-10 20:11:41 +03:00 |
|
Jari Vetoniemi
|
702d808b28
|
Make it possible to set and get userdata pointers.
|
2014-04-10 20:09:34 +03:00 |
|
Jari Vetoniemi
|
a6d0413b97
|
Implement list structure, and feature for multiple selections.
|
2014-04-10 20:04:06 +03:00 |
|
Jari Vetoniemi
|
16e023aa3e
|
Assert and whitespace.
|
2014-04-10 20:02:27 +03:00 |
|
Jari Vetoniemi
|
e874818889
|
Cleanup curses better.
|
2014-04-10 20:01:34 +03:00 |
|
Jari Vetoniemi
|
8631506d9d
|
Update documentation, include only public API in doxygen output.
|
2014-04-10 17:26:42 +03:00 |
|
Jari Vetoniemi
|
4a931c5ed4
|
Nicer doxygen output
|
2014-04-10 15:48:55 +03:00 |
|
Jari Vetoniemi
|
78713f23ac
|
Document internal.h
|
2014-04-10 13:23:42 +03:00 |
|
Jari Vetoniemi
|
9a04c4a9a7
|
Document curses struct
|
2014-04-10 13:23:03 +03:00 |
|
Jari Vetoniemi
|
d53c91393d
|
Fix bmMenuRunWithKey documentation
|
2014-04-10 13:08:38 +03:00 |
|
Jari Vetoniemi
|
e230f03e54
|
Fix bmMenuRender documentation
|
2014-04-10 13:08:26 +03:00 |
|
Jari Vetoniemi
|
04dede1f96
|
Remove unused internal function.
|
2014-04-10 12:07:23 +03:00 |
|
Jari Vetoniemi
|
ff8ad3a804
|
Remove @file from non-public library files.
|
2014-04-10 11:08:10 +03:00 |
|
Jari Vetoniemi
|
722af2f7a0
|
Clarify which enums the functions are mapped to.
|
2014-04-10 11:07:37 +03:00 |
|
Jari Vetoniemi
|
f090160ab9
|
Update README.md
|
2014-04-10 11:00:26 +03:00 |
|
Jari Vetoniemi
|
efc5781aec
|
Consistency
|
2014-04-10 10:57:37 +03:00 |
|
Jari Vetoniemi
|
956494767c
|
lolCase variables
|
2014-04-10 10:56:38 +03:00 |
|
Jari Vetoniemi
|
4d920ad9e4
|
Make asserts and ifs more consistent.
|
2014-04-10 01:41:32 +03:00 |
|
Jari Vetoniemi
|
cff1f37f97
|
Do curses refresh before endwin.
|
2014-04-10 01:31:22 +03:00 |
|
Jari Vetoniemi
|
9fda2cdb2f
|
Fix static analyze errors.
|
2014-04-10 01:29:01 +03:00 |
|