3 comments

  • jitl 1 hour ago
    A good toolkit for Ink is much needed, although Ink itself leaves something to be desired, especially compared to https://github.com/anomalyco/opentui (bun only, used by opencode)

    I tried to build a Viewport component in Ink, but after scrolling to the bottom of a list of 150 rows, Ink started to render things strangely - the top line overflowed the box bounds, and a few blank lines appeared inside the viewport. I couldn't figure out where the bug was in Ink, I somewhat suspect floating point issues somewhere in the native Yoga<->JS layer?

    • ajz317 1 hour ago
      thank you !! : ) ive seen the opentui docs and it seems extremely feature rich. ill make something w it someday.

      also, ive had the exact same issue w ink!! i forgot how i solved it though -- something with a Box prop (flexGrow?)

  • Trannosaur 1 hour ago
    A random arse thought, but I have never seen the phrase batteries-included a week ago, and now I've seen it like half a dozen times. Am I seriously out of date with the lingo of web dev, or did this word suddenly explode in popularity?
  • latchkey 41 minutes ago
    The fact that there are no tests is a non-starter for me. AI mostly writes them for you now, so there really is no excuse to not have them, especially for a library that people are going to depend on.
    • ajz317 5 minutes ago
      ive been running tests from a gitignored folder (see the play/record commands in the package.json) since setting up thoughtful testing infra thats not just mocking everything is going to take an evening or two. but it's on the roadmap and will be added soon !! : (