shadowmkj/tui-breadcrumb ? reverse-engineered prompt

Reverse engineered prompt

Build me a Rust library for Ratatui that adds a breadcrumb navigation widget for terminal apps. I want it to show a path like Home > Projects > current item, with nice separator options, smart truncation when the terminal is too narrow, and support for both a simple static version and an interactive version with keyboard and mouse selection.

It should feel solid and Unicode safe, so long labels, emojis, and non English text don’t break the layout. I’d like it to work with normal filesystem paths too, since this will be useful in file browsers and nested settings screens. Please include a few examples showing how to render it, how to handle clicks or arrow key navigation, and how to style the active segment differently from the rest. If you need to check the latest Ratatui docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab