summaryrefslogtreecommitdiffstats
path: root/src/render.rs
AgeCommit message (Collapse)AuthorLines
2023-03-06chore: optimize codesigoden-4/+4
2023-03-05feat: add `.copy` command (#10)sigoden-2/+1
2023-03-05feat: add `.editor` command (#9)sigoden-1/+0
* feat: add `.editor` command Use `.editor` to edit/input multiline text * support paste
2023-03-04refactor: no need tui, just render stream directly (#8)sigoden-233/+32
2023-03-04chore: fix typossigoden-6/+6
2023-03-04fix: tui warp long paragraph (#6)sigoden-50/+58
* chore: optimize stream render * fix: tui textwrap long paragraph
2023-03-04refactor: use tui for better stream render (#5)sigoden-115/+212
* feat: show question in the begining of stream render * refactor: use tui for better stream render * trivial updates * fine-tune stream text merging
2023-03-04feat: support highlight reply markdown (#3)sigoden-0/+189
* 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'