31 May 2024 |
_joshka#0 | there are at least 3 standards - sixel, kitty, iterm, what are you missing? | 08:27:50 |
_joshka#0 | You've seen https://crates.io/crates/ratatui-image right? | 08:29:09 |
_joshka#0 | and https://github.com/kovidgoyal/kitty/blob/master/docs/graphics-protocol.rst https://iterm2.com/documentation-images.html | 08:30:45 |
_joshka#0 | Wait, are you just appying https://en.wikipedia.org/wiki/Ward_Cunningham#Law - if so brilliant move 😄 | 08:31:04 |
ascii.lina | oh whoa this is great | 08:36:46 |
ascii.lina | I genuinely didn't know about this lmao | 08:38:11 |
| inthehack joined the room. | 14:51:53 |
| felipes joined the room. | 21:17:05 |
1 Jun 2024 |
_joshka#0 | Redacted or Malformed Event | 01:56:34 |
_joshka#0 | # 🐭 Bevy Ratatui
A Bevy plugin for building TUIs (terminal user interfaces) with Ratatui
Replaces the [previous crate](https://discord.com/channels/691052431525675048/918591326096850974/1212151208937267251) with the same name by rustypal_18616 (thanks for transferring the name :))
Right now this is in an experimental phase with ideas to get some initial feedback on things.
https://crates.io/crates/bevy_ratatui https://github.com/joshka/bevy_ratatui https://docs.rs/bevy_ratatui/latest/bevy_ratatui/ | 01:57:38 |
| kabuki.joe joined the room. | 07:48:45 |
| iamravara joined the room. | 18:36:42 |
iamravara | Download kinda_hard.png | 21:18:23 |
iamravara | kinda hard, ngl | 21:18:31 |
iamravara | Download image.png | 21:23:20 |
iamravara | I'm doing a file manager and thought to myself: "I'll implement a rought concept of the features synchronously and once a have a good vision of what the application will be I'll rewrite everything with tokio" | 21:23:20 |
iamravara | maybe that wasn't a good idea | 21:23:24 |
_joshka#0 | https://imgflip.com/i/8shd24 | 23:01:09 |
2 Jun 2024 |
| muntheorist joined the room. | 14:41:09 |
| neonthedeveloper joined the room. | 15:33:55 |
volitional_decisions | Does anyone know of any crates (including Ratatui) that would be helpful in making a shell? I'm working on an emulator and need to build a debugger. I have a super basic shell, but I would prefer to not hand roll the entire thing. | 15:59:47 |
| volitional_decisions | 16:00:09 |
buddylindsey | Did ratatui used to import stuff from crossterm to reference in code.
I was playing with some stuff last night and copy and pasted out of this file.
https://github.com/ratatui-org/ratatui/blob/main/examples/custom_widget.rs#L21
Only the compiler couldn’t find crossterm in ratatui. Once I imported directly from crossterm all was good. Just curious why the example is importing crossterm from ratatui.
Confused me for probably 45 minutes 🤔 | 16:20:33 |
buddylindsey | That makes sense. I wasn’t sure if the example was out of date or what. I’ll switch over to the tag next time | 17:38:40 |
kdheepak | The longer version of this issue is that
1. We want to keep development easy for us, and updating the examples on the main branch to build up to the next release is a low effort solution 2. We try to communicate this by adding text like this at the beginning of each file:
//! The latest version of this example is available in the [examples] folder in the repository.
//!
//! Please note that the examples are designed to be run against the `main` branch of the Github
//! repository. This means that you may not be able to compile with the latest release version on
//! crates.io, or the one that you have installed locally.
3. We also communicate it in the README
(continued) | 17:38:59 |
kdheepak | Download image.png | 17:39:03 |
kdheepak | * The longer version of this issue is that
1. We want to keep development easy for us, and updating the examples on the main branch to build up to the next release is a low effort solution 2. We try to communicate this by adding text like this at the beginning of each file:
//! The latest version of this example is available in the [examples] folder in the repository.
//!
//! Please note that the examples are designed to be run against the `main` branch of the Github
//! repository. This means that you may not be able to compile with the latest release version on
//! crates.io, or the one that you have installed locally.
3. We also communicate it in the README in the examples folder:
(continued) | 17:39:14 |
kdheepak | 4. Github shows the files and folders of the repo before the README, so unless people scroll down they'll miss this
5. It's also trivially easy for users to miss the comment at the top of the file | 17:40:05 |
buddylindsey | As you can see I don’t read comments apparently 😅. Thanks. | 17:41:05 |
kdheepak | I don't too 🙂 and I think that's quite common imo.
I think we should make some changes to how users land on the examples page. | 17:41:33 |