- make use of full terminal space properly in doc and greenhouse
commands
- add some info in doc command like currently viewed doc
and description at the bottom instead of top of doc (this makes it persistent)
- add contents function to Greenhouse to allow showing custom contents
in the table of contents (this will be used for lazy loading in the future)
this means you can no longer scroll away the text until it isnt seen
this commit also fixes text cutoff when using lunacolors
(like in the doc command)
made some other minor changes (in terms of how much it
matters to the user)
the toc page is now a "special page"
in a next commit itll also be used for a help page
cursor gets hidden unless typing a command
another change in this commit is having a separate render
function for the greenhouse caller to handle ui
this means there isnt a hardcoded space at the bottom to
display command and status line
this is a simple command that returns a single key from the user.
this can be used to read keystrokes in an interactive program
like how greenhouse (the pager) does it
* website: add padding to home page
* docs: slight touch ups to readme
* website: reword/reformat content on home and getting started page
* website: fix docs page layout
- the sidenav for doc pages looks the same as the navbar.
- it will be hidden by default on mobile.
- sidenav looks like the navbar on mobile and is more
seamless in general
* docs: update description, logo, dont center badges
* docs: fix badges
* website: fix padding
* website: add borders, add margins for sidenav
* website: update description on homepage
* website: add margins for blog list
* chore: use new logo
* docs: use logo and text combined for readme
* docs: make logo bigger
* website: use combined logo and text asset
* docs: remove hilbish-text asset
* website: fix navbar expand button
* website: add more padding on doc pages
* website(blog): add post about website improvements
* website(blog): add post about website improvements
* website: add more detail on the install page
* website: add screenshots section
* docs: fix up screenshots section
* docs: remove toc and image alignment
my absolutely terrible april fools release was made on a separate branch. this pr merges the fixes on master so history can be synced up. (and mainly to get the 2.1.2 blog post)
* feat: add read method to sinks
* feat: add manual flush method for sinks
* fix: add flush as sink method and fix arg amount for read
* feat: add pipe property to sinks to see if stdin sink is a pipe
* feat: add method autoFlush to toggle/change automatic flushing
* chore: update changelog