summaryrefslogtreecommitdiffstats
path: root/src/client.rs
AgeCommit message (Collapse)AuthorLines
2023-03-08chore: no longer ignore any errorsigoden-4/+4
2023-03-07refactor: optimize ctrl+c/ctrl+d abort handling (#27)sigoden-8/+7
2023-03-06chore: improve code by renameing some functionsigoden-8/+11
2023-03-06chore: optimize codesigoden-9/+9
2023-03-05feat: add `.set` command (#20)sigoden-27/+31
* feat: add `.set` command * Add config.role
2023-03-05chore: refactor error encapsulationsigoden-5/+4
2023-03-05refactor: optimize role prompt (#13)sigoden-10/+22
2023-03-04feat: support highlight reply markdown (#3)sigoden-17/+24
* feat: support highlight reply markdown * migrate markdown highlighter from termimad to mdcat * optimize render No need to clear screen when there is no newline in reply token * handle ctrl-c when rendering stream * update readme * fix ctrlc don't abort acquire_stream when establish connection * ensure render_stream's dtect_ctrlc is exit before next readline This will make reedline don't throw err 'The cursor position could not be read within a normal duration'
2023-03-03refactor: split into separate modssigoden-0/+166