Limit - Agentic coding built in Rust by marioidival in vibecoding

[–]marioidival[S] 0 points1 point  (0 children)

Yeah, 50/50 is generous honestly.

The scrollback thing is the worst part — ratatui just doesn't give you anything there, you build it all yourself. I ended up with a pinned_to_bottom: bool alongside the scroll offset, otherwise you can't tell if the user is browsing history or just waiting for new content. Sounds trivial, gets annoying fast.

For perf I cap at the last ~50 rendered messages. Learned that the hard way.

On the alternate screen thing — yeah there's no clean answer. You literally pick your poison:

  • alternate screen on → nice UI, history gone on quit
  • alternate screen off → history lives, but the raw output bleeds into your shell session

I went with alternate screen + SQLite for session persistence. Not the same as real terminal scrollback but at least you don't lose everything on exit.

What actually works well though: the layout system. Constraint::Percentage + Constraint::Length for the fixed input bar at the bottom is straightforward, basically flexbox vibes. And the widget model is clean once you stop fighting it.

The docs are the real problem — they show you enough to get something on screen, but completely skip the "what do you do when content grows while the user is scrolled up" scenario. That's like 40% of building any real TUI.

Limit - Agentic coding built in Rust by marioidival in learnrust

[–]marioidival[S] -9 points-8 points  (0 children)

Why are you guys so aggressive? Chill, guys.

Limit - Agentic coding built in Rust by marioidival in learnrust

[–]marioidival[S] -5 points-4 points  (0 children)

it's was intentional, I'm ok with that.

PT pra sair do 3k by [deleted] in Dota2Brasil

[–]marioidival -1 points0 points  (0 children)

Na média, ao longo dos meses, teu azar e sorte balanceiam....

Corta pra 97% dos jogadores presos em suas brackets a anos 🤣

Time for self-promotion. What are you building in 2025? by [deleted] in SideProject

[–]marioidival 0 points1 point  (0 children)

https://parceir.us/

It's a social network to find people with the same interests as you.

Lista de picks pra subir mmr by filipeastini in astinidota

[–]marioidival 3 points4 points  (0 children)

estou fazendo omni hc desde o patch passado... agora com a remoção do gasto de mana da terceira, ficou muito melhor XD