summaryrefslogtreecommitdiffstats
path: root/src/render
AgeCommit message (Collapse)AuthorLines
2023-10-31feat: support custom theme (#187)sigoden-38/+6
2023-10-31fix: no last newline in reply text on windows os (#185)sigoden-1/+5
2023-10-30chore: spellchecksigoden-10/+10
2023-10-30chore: remove unnecessary clippy macrossigoden-7/+0
2023-10-30feat: support textwrap (#171)sigoden-124/+319
* feat: support textwrap * improve cmd_render_stream * done cmd_render_stream * add `-w` alias to `--wrap` * done repl_render_stream * add `config.wrap_code` * remove cached config.wrap_width * fix unxpected duplicate lines on kitty * refactor markdown render * improve render * fix test
2023-10-29fix: unexpcted duplicate lines in kitty (#167)sigoden-41/+37
2023-10-26feat: support multi bots and custom url (#150)sigoden-2/+2
2023-07-10fix: minor code cleanup and pedantic lints (#134)Anthony Rubick-68/+68
2023-03-11feat: add support for NO_COLOR (#67)sigoden-2/+3
2023-03-11feat: support light theme (#65)sigoden-10/+25
There are two ways to enable the light theme: - add `light_theme: true` to config.yaml - use `AICHAT_LIGHT_THEME=true` env var
2023-03-10chore: recovery cursor in case of stream abortsigoden-3/+8
2023-03-09fix: csharp and php do not render correctlysigoden-3/+29
2023-03-09refactor: imports order and groupsigoden-0/+3
2023-03-08chore: optimize newline again (#43)sigoden-2/+5
* chore: optimize newline again command mode: should no extra newline chat mode: should have one newline * fix windows newline * fix macos newline
2023-03-08chore: improve code by getting prompt from config (#39)sigoden-2/+1
2023-03-08fix: windows no stream output (#37)sigoden-6/+4
2023-03-08chore: no longer ignore any errorsigoden-1/+6
2023-03-08chore: optimize output newlinesigoden-2/+2
2023-03-08refactor: replace dump with print_now! (#35)sigoden-4/+4
2023-03-08refactor: split long paragraphs for smoother stream output (#33)sigoden-34/+267
2023-03-08refactor: theme and code color (#32)sigoden-25/+85
2023-03-07feat: command mode supports stream out (#31)sigoden-117/+196
* feat: command mode supports stream out * update cli
2023-03-07refactor: support highlighting more languages (#28)sigoden-2886/+28
2023-03-07refactor: optimize ctrl+c/ctrl+d abort handling (#27)sigoden-10/+10
2023-03-07refactor: use syntect for highlight, abandon mdcat (#26)sigoden-0/+3116
* refactor: use syntect for highlight, abandon mdcat * split src/render.rs to sub modules. embed a default theme * simulate typing effect. * fix format