Commit Graph

34 Commits

Author SHA1 Message Date
sloum 38e7ccea52 Adds license info and copyright statement to each source file 2022-10-08 20:43:47 +00:00
R. Aidan Campbell 1bef2e51a1
when wrapping, omit leading whitespace created if the wrap occurs at a space char 2022-02-08 20:47:16 -07:00
R. Aidan Campbell 070f7eb6ba
extract logic for reading maxwidth config into a function: now safely handles fallbacks for missing or malformed configuration 2022-02-07 21:54:12 -07:00
R. Aidan Campbell dac13e1669
soft wrap between words 2022-02-06 22:50:25 -07:00
R. Aidan Campbell 984fb4eb2f
max width for softwraping now configured via maxwidth configuration item: default or invalid value falls back to previous 100 column 2022-02-06 22:08:19 -07:00
Sloom Sloum Sluom IV 33e78753ea Merge branch 'release2.3.3' into unicode-line-endings 2020-11-05 15:44:50 +00:00
asdf 388218a5b6 Initial support for some unicode line endings 2020-11-05 21:28:54 +11:00
sloum 2270dee513 Uses asdf's suggestion to reduce HasPrefix overhead by setting the spacer at the beginning of the document wrap code 2020-10-24 10:10:06 -07:00
Sloom Sloum Sluom IV 01d071e510 Adds spacing to gemini docs to normalize the formatting with gopher docs 2020-09-08 21:20:34 -07:00
asdf 980f236d84 Corrects wrapped lines to ensure they fit the required terminal width 2020-06-21 14:24:12 +10:00
sloum 909131cda8 Lets images be full width 2020-05-15 22:25:56 -07:00
sloum 322002ba66 Adds a max width of 100, anything more gets weird to read. Also adds a slight optimization. 2020-05-15 22:19:09 -07:00
sloum 7edf01eb99 Adds a color property to the page struct to track the color mode 2020-02-15 10:51:39 -08:00
sloum cda502fbb8 Adds a WrapWidth param to the page struct so that pages.go does not have to rewrap on every render. 2020-02-15 08:43:54 -08:00
sloum c9765bf0fa Adds lo-fi image rendering to Bombadillo 2020-02-13 21:26:23 -08:00
sloumdrone 77fe67525e Fixing go 1.11 compatibility issue in strings lib w replaceAll vs replace 2020-01-04 12:48:15 -08:00
sloumdrone 71e21543f0 Fixes line wrapping to 80 columns rather than 79 2020-01-04 10:53:24 -08:00
sloumdrone 10f28027dc Working search 2019-12-18 22:17:52 -08:00
sloumdrone 9e7ac3c866 Finally solved infuriating rendering issue 2019-12-17 22:32:45 -08:00
sloumdrone f68996decf Beginnings of text search... semi-working 2019-12-16 22:18:28 -08:00
sloumdrone f3f406260e Updates escape code handling to be safer plus renders literally in local scheme 2019-12-13 20:19:50 -08:00
sloumdrone 021678d9da Adds support for a new color theme mode 2019-12-10 21:56:41 -08:00
sloumdrone c948be18dc Adds better formatting/options for local protocol directory listings 2019-11-16 17:38:11 -08:00
Sloom Sloum Sluom IV a06ad4ee8d Merge branch 'remove-escapes' of sloum/bombadillo into develop 2019-11-12 09:52:16 -05:00
sloumdrone 6d9ae540e3 Responds to GoMetaLinter for more of the codebase. 2019-11-10 16:18:27 -08:00
sloumdrone f5c5dcd736 Handles a number of linter errors 2019-11-10 11:35:52 -08:00
sloumdrone e4f7147e4f Ran format on each file 2019-11-10 10:41:12 -08:00
sloumdrone 65101563d9 Removes ascii escape codes from remote content 2019-11-02 19:45:55 -07:00
sloumdrone fdaf6312ab Adds a terminal mode change to disallow line wrapping by the terminal, also fixes a resize scroll issue and disallows escape characters in text files 2019-09-19 20:29:17 -07:00
sloumdrone f2f730f3c5 Vast improvements, still squashing bugs like crazy. 2019-09-13 22:56:38 -07:00
sloumdrone 98e34576ca Worked out resizing and wrapping bugs. Now hard wraps, rather than soft. 2019-09-12 20:57:48 -07:00
sloumdrone bccca61ec2 Some level of screen draw now works 2019-09-11 22:53:36 -07:00
sloumdrone 84631a38da Adds telnet and http modules, updates visit method on client 2019-09-10 20:13:30 -07:00
sloumdrone da45f627e0 Initial v2 commit, deep in restructuring... maybe not for the better? 2019-09-09 19:35:16 -07:00