Commit Graph

10 Commits (cfb6ce6958751da5e13683ea07f42a5dbc4eae01)

Author SHA1 Message Date
sigoden cfb6ce6958
feat: support light theme (#65)
There are two ways to enable the light theme:
- add `light_theme: true` to config.yaml
- use `AICHAT_LIGHT_THEME=true` env var
1 year ago
sigoden e78b5f7c58 refactor: imports order and group 1 year ago
sigoden 9d32837669
chore: optimize newline again (#43)
* chore: optimize newline again

command mode: should no extra newline
chat mode: should have one newline

* fix windows newline

* fix macos newline
1 year ago
sigoden 2539e24fe9
chore: improve code by getting prompt from config (#39) 1 year ago
sigoden ee81275431
fix: windows no stream output (#37) 1 year ago
sigoden 2a7a6f5f27 chore: no longer ignore any error 1 year ago
sigoden 360264121c
feat: command mode supports stream out (#31)
* feat: command mode supports stream out

* update cli
1 year ago
sigoden d73be65b07
refactor: support highlighting more languages (#28) 1 year ago
sigoden 11dc4d104b
refactor: optimize ctrl+c/ctrl+d abort handling (#27) 1 year ago
sigoden 1640456049
refactor: use syntect for highlight, abandon mdcat (#26)
* refactor: use syntect for highlight, abandon mdcat

* split src/render.rs to sub modules. embed a default theme

* simulate typing effect.

* fix format
1 year ago