Commit Graph

104 Commits

Author SHA1 Message Date
Case Duckworth d1029c2573 Finally fix bruno's bug report
Thanks, bruno!

Instead of escaping the brackets at all in KEY_BACK and KEY_FORWARD, I just put
them in there raw.  It's possible that this is a difference between Bash 4 and
Bash 5, since I assume I tried it that way before, but I don't remember.  Bug
reports for Bash 4 users are welcome.
2021-12-11 14:32:32 -06:00
Case Duckworth 183617a85d Fix a bug with name collision 2021-03-04 17:49:18 -06:00
Case Duckworth 8629f74d16 Still. More. Documentation.
continuous-integration/drone/push Build is passing Details
2021-03-03 17:57:07 -06:00
Case Duckworth c274c4f723 Keep documenting
continuous-integration/drone/push Build is passing Details
2021-03-03 12:56:42 -06:00
Case Duckworth f0f51d22a1 Allow for customizing default gemini & gopher ports 2021-03-03 12:56:14 -06:00
Case Duckworth d17d3f73eb More documentation
continuous-integration/drone/push Build is passing Details
2021-03-02 23:42:00 -06:00
Case Duckworth f8a7f09627 Document some more
continuous-integration/drone/push Build is passing Details
2021-03-02 17:58:44 -06:00
Case Duckworth ca8db6208f Fix tiny bugs
The rubber ducky method works!!
2021-03-02 17:58:22 -06:00
Case Duckworth 41a1534ee0 Make shfmt happy
The (C-c) pissed it off for some reason .. and it's only on the upstairs machine..
2021-03-02 17:57:28 -06:00
Case Duckworth afb2163447 Add commentary
continuous-integration/drone/push Build is passing Details
2021-03-02 12:58:27 -06:00
Case Duckworth 4cf171a098 Bump version 2021-03-02 12:56:45 -06:00
Case Duckworth 4feffa0704 Enable customization of keybindings 2021-03-01 17:31:51 -06:00
Case Duckworth d3689c74b0 Fix another XDG dir
... sigh.
2021-03-01 17:04:40 -06:00
Case Duckworth eda86b6f1f Change default T_PRE_DISPLAY to both,pre,alt 2021-02-27 16:54:22 -06:00
Case Duckworth 7b4ea75968 Change default pre-cycle to 'p' 2021-02-27 16:51:29 -06:00
Case Duckworth 510a4433d8 Make shellcheck happy 2021-02-27 16:51:07 -06:00
Case Duckworth c62c43499f HOTFIX: actually LOAD the config file
continuous-integration/drone/push Build is failing Details
Bollux was trying to load the config from $XDG_CONFIG_DIR, which /isn't/
anything, so far as XDG is concerned.  It's been fixed to
XDG_CONFIG_HOME -- and I've added a DEBUG variable to make debugging
stuff /even easier/ later.
2021-02-27 15:55:53 -06:00
Case Duckworth 972d79a5c1 Change BOLLUX_PRE_DISPLAY to T_PRE_DISPLAY; document
continuous-integration/drone/push Build is failing Details
It's really a typesetting option, so I changed the namespace.
2021-02-26 20:51:25 -06:00
Case Duckworth c62c0f0d53 Add BOLLUX_PRE_DISPLAY and functionality (fix #1)
Configuration option: BOLLUX_PRE_DISPLAY
- comma-separated list of following options: 'pre', 'alt', 'both'
- default: 'pre,alt,both'

Keybind: `
- when pressed, will cycle through the options in BOLLUX_PRE_DISPLAY

Full documentation coming in the next commit.
2021-02-26 20:37:51 -06:00
Case Duckworth 2c5c1008f4 Reword comment 2021-02-26 19:44:41 -06:00
Case Duckworth b68064c326 Shorten lines
Wanted to make sure all lines are less than 80 characters.
2021-02-26 17:41:22 -06:00
Case Duckworth 83af2d5cd7 Disable shellcheck in usplit
continuous-integration/drone/push Build is passing Details
The local variables aren't picked up by shellcheck because of the printf level
of indirection I do later in the function, which is the reason /why/ I use a
variable in the first argument to printf.
2021-02-25 21:37:30 -06:00
Case Duckworth 2d60db4ce4 Add -S to less_cmd (fix #9)
Should keep from wrapping pre-formatted blocks.
2021-02-25 19:39:28 -06:00
Case Duckworth 556d5d241f Run shfmt on the buffer 2021-02-25 19:36:14 -06:00
Case Duckworth 3b5b177922 Trap SIGINT: fixes #3 2021-02-25 17:01:10 -06:00
Case Duckworth 1e06e8f5af Change implementation of URL array 2020-06-18 08:24:01 -05:00
Case Duckworth 7dd75ca773 Handle unknown protocols better (by not handling them) 2020-06-08 15:56:45 -05:00
Case Duckworth b5e61bcf2f Reload page if no links 2020-06-08 15:37:29 -05:00
Case Duckworth 89fc98d809 Implement 'sleep' as a builtin 2020-06-08 15:37:03 -05:00
Case Duckworth ade0ac25fe Set BOLLUX_URL on 3* status codes 2020-06-08 15:30:20 -05:00
Case Duckworth 793d2f38ca Fix bye message 2020-06-08 15:24:43 -05:00
Case Duckworth 07e67801e0 Comment less invocation 2020-06-08 15:20:14 -05:00
Case Duckworth ea9d9365d9 Remove unneeded variables 2020-06-08 15:19:54 -05:00
Case Duckworth a14e181a76 Fold text better
`fold_line` now has a lot of options that determine how to fold the
text so that each line can be separately styled with ANSI escapes.  It
turns out that `less` only styles the first line of multi-line blocks
that are ANSI-escaped, so this was necessary to make it look "good."
2020-06-08 15:04:26 -05:00
Case Duckworth 97e8482bd5 Enable extglob on extglob 2020-06-08 11:16:13 -05:00
Case Duckworth 6f4bf51081 Log function name 2020-06-08 10:13:34 -05:00
Case Duckworth f97084b287 Escape URL queries 2020-06-08 00:42:16 -05:00
Case Duckworth 4ecc7edab7 Fix regression with BOLLUX_URL not being set 2020-06-08 00:41:52 -05:00
Case Duckworth 9612417f6e Change formatting of quotes and fix list 2020-06-08 00:36:42 -05:00
Case Duckworth c96ced1f60 Add quote support to text/gemini typesetting 2020-06-08 00:14:10 -05:00
Case Duckworth d9bc3e0109 Add -servername to openssl command 2020-06-07 23:26:28 -05:00
Case Duckworth c557d616e9 Add comments 2020-06-07 19:23:14 -05:00
Case Duckworth 93f21f4d2b Change display and keymaps 2020-06-07 18:43:28 -05:00
Case Duckworth 66fd84e529 Change less options 2020-06-07 17:59:36 -05:00
Case Duckworth a4f561b149 Support status code 11 2020-06-07 16:51:48 -05:00
Case Duckworth 41e2c8da3d Update documentation 2020-06-07 14:02:57 -05:00
Case Duckworth 8812a312d5 Set timeout 2020-06-07 13:34:59 -05:00
Case Duckworth 7ff7a64c03 Add gophertypes 7 and hopefully others (download) 2020-06-04 23:51:28 -05:00
Case Duckworth b28d00f8f0 Add gopher support; clean up 2020-06-04 20:14:05 -05:00
Case Duckworth b73e5bf3e0 Version bump 2020-06-03 23:22:55 -05:00