You are browsing as a guest. Sign up (or log in) to start making projects!

8h 0m 34s logged

(back to) opentui! :cat-woah:

if you’ve read my last devlog, you might remember that i was considering the jsvision library. however, i came back to opentui because its still much simpler. also, i found that there are libs to adapt ansi! or at least chatgpt did :sk: at first i was doing ghostty-opentui, but i realized after some time that it was literally a whole terminal. then i got chatgpt to find me this package called ansi-sequence-parser (https://www.npmjs.com/package/ansi-sequence-parser) and its perfect! so now im using that to render the bold and italics! tbh i could just eliminate the middle stage (stylize.ts), but i put a lot of work into it and i’m extremely vulnerable to the sunken cost fallacy, so i’m doing this bloat lmao.
also, i got ordered lists, bullet lists, and blockquotes working! they look so cool!
as for the menu, its not doing very fine, but that’s because i’ve not worked on it! i’ll get to it, don’t worry!

next up:

  • code blocks (~2-4 hours)
  • fixes to table rendering (<30 mins)
  • fix image handling (it doesn’t handle relative paths correctly) (<1hr?)

Changelog

  • (8b44667) Add blockquotes and 1 row bottom margin to second-level renderables
  • (3e5182f) Add oredered list handling
  • (d997aff) Switch back to OpenTUI, get things working
0
67

Comments 0

No comments yet. Be the first!