Commit Graph

46 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 10240c716a Formatting 2015-02-26 23:29:45 +01:00
Přemysl Eric Janouch 2f0852ec05 Handle search field overflow a bit better
Make sure the cursor doesn't overflow where it doesn't belong.
2015-02-24 23:52:36 +01:00
Přemysl Eric Janouch f4b29a980c Add a near-useless bar on top with bookname 2015-02-24 23:42:15 +01:00
Přemysl Eric Janouch d93b241a65 Silence a warning
We don't care if we read a byte from the pipe.
2015-02-14 06:16:17 +01:00
Přemysl Eric Janouch 61ad99b611 Make more use of xstrtoul() 2015-02-07 22:11:53 +01:00
Přemysl Eric Janouch 99116d0f70 Update information texts and copyrights 2015-02-07 21:38:27 +01:00
Přemysl Eric Janouch e1643289c5 Cancel selection confirmation when following the selection 2015-02-07 21:13:34 +01:00
Přemysl Eric Janouch a9bc1d8751 Add support for watching the primary selection
Depends on GTK+, which should make it work with all of X11, Wayland, and Mir.
2015-02-07 21:05:32 +01:00
Přemysl Eric Janouch 627248bd1f React to mouse wheel scrolling 2015-02-07 20:36:45 +01:00
Přemysl Eric Janouch 4730cc47e1 Hide the help in app_search_for_entry() 2015-02-07 20:35:09 +01:00
Přemysl Eric Janouch 6e42b07d20 Or let's rather do it like this 2015-02-01 22:44:16 +01:00
Přemysl Eric Janouch 08ed996fe1 Tell termo to convert DEL to Backspace
Now backspace works in tmux.
2015-02-01 22:32:49 +01:00
Přemysl Eric Janouch a5e0c0ea71 Update termo 2014-11-19 03:31:47 +01:00
Přemysl Eric Janouch 2562d108fa Avoid some overhead with iconv()
Now, in theory, terminal output could actually be a bit faster.
2014-11-19 03:31:47 +01:00
Přemysl Eric Janouch da3a4842f1 Get rid of wchar_t for good 2014-11-19 03:31:47 +01:00
Přemysl Eric Janouch b8dc6bb3cc Avoid flicker while resizing 2014-11-19 03:31:47 +01:00
Přemysl Eric Janouch b352a0fc8d Rewrite to use termo
Also get rid of some silliness that I'm only able to see now.
2014-11-19 03:31:46 +01:00
Přemysl Eric Janouch a3348d888b I've been enlightened
Now responding to C-p, C-n, C-b, C-f and C-h as expected.
2014-02-11 23:28:02 +01:00
Přemysl Eric Janouch d7114f0634 Don't apply the bold attribute to padding.
It looked awful when it caused a change in the colour of underlining.
2013-10-09 02:54:19 +02:00
Přemysl Eric Janouch 0c2a603a21 Add support for transposition with Ctrl-T 2013-07-09 07:50:17 +02:00
Přemysl Eric Janouch 1cc91a4b17 Fix double- and zero-wide characters
It's not perfect but seems to work well enough.
2013-06-02 00:04:43 +02:00
Přemysl Eric Janouch d3b966a93f Fix a 100% CPU usage bug 2013-05-19 20:06:29 +02:00
Přemysl Eric Janouch ce3b2c80a1 Use a little bit more straight-forward detection 2013-05-19 19:28:08 +02:00
Přemysl Eric Janouch ebc482b8fd Indicate with ellipsis that text is too long 2013-05-19 18:42:38 +02:00
Přemysl Eric Janouch c38f1046f3 Don't abort() on setlocale() failure 2013-05-19 05:26:20 +02:00
Přemysl Eric Janouch 5225c6117b Initialise GError's 2013-05-19 05:04:47 +02:00
Přemysl Eric Janouch 46083b1e7d Internationalisation 2013-05-19 05:04:37 +02:00
Přemysl Eric Janouch 110f2523d3 Fix window resizing 2013-05-19 01:07:08 +02:00
Přemysl Eric Janouch caac68a3ed Fix characters not representable in LC_CTYPE 2013-05-19 00:12:52 +02:00
Přemysl Eric Janouch c09e3dcc96 Show some help/about information 2013-05-18 23:48:53 +02:00
Přemysl Eric Janouch ec57f2d806 Extend key code handling 2013-05-18 23:47:57 +02:00
Přemysl Eric Janouch 583b19c6e4 Add Ctrl-L to repaint everything
Any serious application has it, so why not this one.
2013-05-18 03:06:35 +02:00
Přemysl Eric Janouch de2a576ba5 Allow mouse clicks within the search field 2013-05-18 01:14:49 +02:00
Přemysl Eric Janouch c017d5b569 Don't redraw the top line to restore the cursor
Consider this a rather temporary solution.
2013-05-18 00:38:18 +02:00
Přemysl Eric Janouch 9c024a57cd Add CMake infrastructure 2013-05-17 18:41:14 +02:00
Přemysl Eric Janouch 5cb6a2e506 New functionality
Ctrl-Up/Down skips whole entries
Alt-Left/Right moves the division line
Enter confirms the entry for overwriting

The modified arrow keys aren't going to work everywhere,
e.g. the Linux terminal doesn't support them.
2013-05-16 23:56:01 +02:00
Přemysl Eric Janouch d07f80c051 Support Ctrl-A/E shortcuts 2013-05-16 20:46:33 +02:00
Přemysl Eric Janouch 11c16cc173 Add Pango parsing. 2013-05-15 20:58:40 +02:00
Přemysl Eric Janouch b8c4d29233 Store search input in UCS4. 2013-05-15 19:30:47 +02:00
Přemysl Eric Janouch 421d87b7c0 Refactoring. 2013-05-15 17:26:39 +02:00
Přemysl Eric Janouch 776cebe535 Begone, bug. 2013-05-15 13:19:36 +02:00
Přemysl Eric Janouch e054f21ad5 Add simple mouse support. 2013-05-15 13:03:54 +02:00
Přemysl Eric Janouch a7a85a8e55 Use GIConv to get rid of encoding issues 2013-05-15 12:53:50 +02:00
Přemysl Eric Janouch bdff36bbce Add basic functionality
The bugs are there but the program is usable now.
2013-05-14 23:17:03 +02:00
Přemysl Eric Janouch 6db153b1e2 Start working on sdtui; implement line editing 2013-05-12 05:58:24 +02:00
Přemysl Eric Janouch 8ab74e16d7 Rename the project 2013-05-11 04:17:39 +02:00