Commit Graph

307 Commits

Author SHA1 Message Date
Přemysl Eric Janouch f7e4d8d3d3
Add keyboard shortcuts g/G for goto top/bottom
As in less(1).
2018-10-21 04:20:06 +02:00
Přemysl Eric Janouch 8f362e787b
Add a search feature for Library tab 2018-10-21 04:17:05 +02:00
Přemysl Eric Janouch 609ddfab22
Cleanup 2018-10-20 22:22:26 +02:00
Přemysl Eric Janouch 804f051d66
Implement sequential multiselect for Library tab 2018-10-20 22:22:26 +02:00
Přemysl Eric Janouch 3c09a16a02
Fix input handling
When app_process_termo_event() returns false, it always means to beep,
not to quit the application.
2018-10-20 22:13:33 +02:00
Přemysl Eric Janouch 9c16ab4136
Mark an issue for later 2018-10-20 22:13:32 +02:00
Přemysl Eric Janouch f241a7016a
Move the line editor into its own file
Trying to make it reusable in other projects.
2018-10-20 22:13:32 +02:00
Přemysl Eric Janouch e957bba771
Use a common algorithm for scrollbars
Let's have reasonable behaviour with Unicode one as well.
2018-10-20 04:27:35 +02:00
Přemysl Eric Janouch 3fd88d593c
Improve fallback scrollbar behaviour 2018-10-20 02:51:09 +02:00
Přemysl Eric Janouch caba65b2bc
Bind the </> keys to previous/next
As in mpv.
2018-09-26 04:02:35 +02:00
Přemysl Eric Janouch 9b38c4c74f
Fix undefined behaviour 2018-07-21 23:36:13 +02:00
Přemysl Eric Janouch 68c620fdee
Remove .travis.yml
We don't depend on any proprietary services no longer.  I'll have to
make my own replacements with blackjack and hookers.  Until then,
the file stays in the commit log as an example.
2018-06-24 04:30:13 +02:00
Přemysl Eric Janouch 491f1857ea
Update README 2018-06-24 04:29:47 +02:00
Přemysl Eric Janouch 7f8ad9430f
Relicense to 0BSD, update mail address
I've come to the conclusion that copyright mostly just stands in the way
of software development.  In my jurisdiction I cannot give up my own
copyright and 0BSD seems to be the closest thing to public domain.

The updated mail address, also used in my author/committer lines,
is shorter and looks nicer.  People rarely interact anyway.
2018-06-24 04:29:24 +02:00
Přemysl Eric Janouch 64ba783d0f
CMakeLists.txt: fix variable name 2018-06-24 04:29:06 +02:00
Přemysl Eric Janouch aace4b9833
Bump liberty, termo 2018-06-24 04:26:59 +02:00
Přemysl Eric Janouch 0f350f88b3
Cleanup 2017-06-27 04:35:02 +02:00
Přemysl Eric Janouch a1831a3ab8
Reorganize actions 2017-06-27 04:31:08 +02:00
Přemysl Eric Janouch 021bc214a3
Improve the Help tab
There are now up to three bindings per action by default, so grouping
is desirable.  We can even follow the more or less logical order given
by enumeration values.

It should be much easier to find what you need.
2017-06-27 04:31:08 +02:00
Přemysl Eric Janouch 23efe3bfdf
Cleanup 2017-06-27 04:31:08 +02:00
Přemysl Eric Janouch 4bb9b11fed
Customizable key bindings 2017-06-27 04:31:04 +02:00
Přemysl Eric Janouch 2375e0dd3e
Make Del/Bksp eat whole graphemes
Tested on some zalgo text.
2017-06-26 04:54:56 +02:00
Přemysl Eric Janouch 7d414c7647
Make left/right skip non-spacing characters 2017-06-26 04:19:42 +02:00
Přemysl Eric Janouch 33f5ba0b60
Allow running arbitrary MPD commands 2017-06-26 03:51:53 +02:00
Přemysl Eric Janouch 4261c81468
Teach the line editor to scroll + prompt 2017-06-26 03:50:29 +02:00
Přemysl Eric Janouch 6b2def7531
Clean up the line editor 2017-06-26 01:59:55 +02:00
Přemysl Eric Janouch 9fc690c4c9
Cache widths in the line editor 2017-06-26 01:48:38 +02:00
Přemysl Eric Janouch ba3302982e
Basic implementation of a line editor
Not yet used anywhere.
2017-06-26 00:01:24 +02:00
Přemysl Eric Janouch f71eee66bd
Rename item_list_{init,make}() 2017-06-23 00:20:08 +02:00
Přemysl Eric Janouch 3ff7867e30
Bump liberty 2017-06-23 00:20:08 +02:00
Přemysl Eric Janouch 99f35a509c
Handle weird playlists better 2017-06-22 21:25:52 +02:00
Přemysl Eric Janouch f875109201
Update screenshot 2017-06-16 19:48:31 +02:00
Přemysl Eric Janouch 88455f03bf
Cleanup 2017-06-13 17:06:31 +02:00
Přemysl Eric Janouch f8a9b7aba1
Bump liberty 2017-06-13 16:48:59 +02:00
Přemysl Eric Janouch d0c0af0e38
Allow modifying playlist order 2017-06-05 22:19:39 +02:00
Přemysl Eric Janouch c5fcc1c8c1
More beeping 2017-06-05 22:19:12 +02:00
Přemysl Eric Janouch 7f66f801f4
Give up on freeing tab resources 2017-06-05 21:34:50 +02:00
Přemysl Eric Janouch 1dbece753e
Auto-resume playback on replace 2017-06-05 21:20:31 +02:00
Přemysl Eric Janouch 19605f9b7b
Use song IDs when available 2017-06-05 20:54:50 +02:00
Přemysl Eric Janouch cadc846fd4
Cleanup 2017-06-05 20:26:28 +02:00
Přemysl Eric Janouch 34bbff2f71
Remove a pointless TODO 2017-06-05 20:14:49 +02:00
Přemysl Eric Janouch abb5022793
Invalidate a TODO 2017-06-05 20:09:47 +02:00
Přemysl Eric Janouch e0e63cb177
Make code a bit more compact 2017-06-05 20:02:21 +02:00
Přemysl Eric Janouch 627cb0dee9
Add and bind backward/forward seeks 2017-06-05 19:57:00 +02:00
Přemysl Eric Janouch 77c78d8866
Fix a little glitch 2017-06-05 19:50:04 +02:00
Přemysl Eric Janouch 7b41ae1658
Simplify view code
Now we beep if selection movement is impossible.

It still looks a bit more obfuscated than it needs to be.
2017-06-05 19:39:06 +02:00
Přemysl Eric Janouch e62c41f4a1
Use the ARRAY abstraction 2017-06-05 18:59:23 +02:00
Přemysl Eric Janouch b050113eed
Show playlist length time
Now we look distinctly Sonata-like.
2017-06-05 18:51:18 +02:00
Přemysl Eric Janouch 0541b7e179
Uncapitalize cURL errors 2017-06-05 13:05:33 +02:00
Přemysl Eric Janouch 99f2117d4c
Implement L/M/H bindings 2017-06-05 01:24:10 +02:00