summaryrefslogtreecommitdiffstats
path: root/src/render/cmd.rs
AgeCommit message (Collapse)AuthorLines
2023-11-02fix: incorrect last line render in command mode (#201)sigoden-1/+3
2023-11-02refactor: improve code quanity (#197)sigoden-2/+1
- move model_info.rs/message.rs to clients/ - rename SharedConfig to GlobalConfig
2023-11-02refactor: improve code quanity (#196)sigoden-10/+9
- rewrite Repl, remove ReplHandler - move ReplyStreamHandler to repl/ and rename it to ReplyHandler - deprecate utils::print_now - refactor session info
2023-10-31chore: move split_line_* from repl/cmd.rs to utils/ (#190)sigoden-217/+1
2023-10-31fix: uncorrected render in command mode (#188)sigoden-4/+6
2023-10-30chore: remove unnecessary clippy macrossigoden-1/+0
2023-10-30feat: support textwrap (#171)sigoden-16/+40
* 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-3/+3
2023-07-10fix: minor code cleanup and pedantic lints (#134)Anthony Rubick-43/+37
2023-03-11feat: support light theme (#65)sigoden-2/+6
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-09refactor: imports order and groupsigoden-0/+1
2023-03-08chore: optimize output newlinesigoden-1/+1
2023-03-08refactor: replace dump with print_now! (#35)sigoden-4/+4
2023-03-08refactor: split long paragraphs for smoother stream output (#33)sigoden-0/+223
2023-03-07feat: command mode supports stream out (#31)sigoden-0/+37
* feat: command mode supports stream out * update cli