!PNVJpPVfXjgFKGFolb:matrix.org

Ratatui General

589 Members
Rust library to build rich terminal user interfaces (TUIs) and dashboards https://github.com/tui-rs-revival/ratatui21 Servers

Load older messages


SenderMessageTime
31 May 2024
@_discord_616426857545334796:t2bot.io_joshka#0 there are at least 3 standards - sixel, kitty, iterm, what are you missing? 08:27:50
@_discord_616426857545334796:t2bot.io_joshka#0 You've seen https://crates.io/crates/ratatui-image right? 08:29:09
@_discord_616426857545334796:t2bot.io_joshka#0 and
https://github.com/kovidgoyal/kitty/blob/master/docs/graphics-protocol.rst
https://iterm2.com/documentation-images.html
08:30:45
@_discord_616426857545334796:t2bot.io_joshka#0 Wait, are you just appying https://en.wikipedia.org/wiki/Ward_Cunningham#Law - if so brilliant move 😄 08:31:04
@_discord_303972202821189633:t2bot.ioascii.lina oh whoa this is great 08:36:46
@_discord_303972202821189633:t2bot.ioascii.lina I genuinely didn't know about this lmao 08:38:11
@_discord_455854856549433354:t2bot.iointhehack joined the room.14:51:53
@_discord_79501127246159872:t2bot.iofelipes joined the room.21:17:05
1 Jun 2024
@_discord_616426857545334796:t2bot.io_joshka#0Redacted or Malformed Event01:56:34
@_discord_616426857545334796:t2bot.io_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
@_discord_743725385581068299:t2bot.iokabuki.joe joined the room.07:48:45
@_discord_223098469630476288:t2bot.ioiamravara joined the room.18:36:42
@_discord_223098469630476288:t2bot.ioiamravarakinda_hard.png
Download kinda_hard.png
21:18:23
@_discord_223098469630476288:t2bot.ioiamravara kinda hard, ngl 21:18:31
@_discord_223098469630476288:t2bot.ioiamravaraimage.png
Download image.png
21:23:20
@_discord_223098469630476288:t2bot.ioiamravara 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
@_discord_223098469630476288:t2bot.ioiamravara maybe that wasn't a good idea 21:23:24
@_discord_616426857545334796:t2bot.io_joshka#0 https://imgflip.com/i/8shd24 23:01:09
2 Jun 2024
@_discord_1232791724808605698:t2bot.iomuntheorist joined the room.14:41:09
@_discord_816253376962625537:t2bot.ioneonthedeveloper joined the room.15:33:55
@_discord_452580294331990027:t2bot.iovolitional_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
@_discord_452580294331990027:t2bot.iovolitional_decisions 16:00:09
@_discord_1037126672543133706:t2bot.iobuddylindsey 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
@_discord_1037126672543133706:t2bot.iobuddylindsey 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
@_discord_198253197201113089:t2bot.iokdheepak 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
@_discord_198253197201113089:t2bot.iokdheepakimage.png
Download image.png
17:39:03
@_discord_198253197201113089:t2bot.iokdheepak * 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
@_discord_198253197201113089:t2bot.iokdheepak 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
@_discord_1037126672543133706:t2bot.iobuddylindsey As you can see I don’t read comments apparently 😅. Thanks. 17:41:05
@_discord_198253197201113089:t2bot.iokdheepak 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

Show newer messages


Back to Room ListRoom Version: 10