!PNVJpPVfXjgFKGFolb:matrix.org

Ratatui General

589 Members
A Rust crate for cooking up Terminal User Interfaces https://ratatui.rs21 Servers

Load older messages


SenderMessageTime
11 Jul 2024
@modev:bsd.cafe@modev:bsd.cafe left the room.04:08:46
@Ninmi:matrix.orgNinmi joined the room.21:49:55
12 Jul 2024
@yak0yakee0d:matrix.orgyak0yakee0d joined the room.00:11:36
@yak0yakee0d:matrix.orgyak0yakee0dHi there!00:12:12
@mur1chan:sakura.pm@mur1chan:sakura.pm left the room.05:57:00
14 Jul 2024
@stappers:fosdem.orgstappersWelcome18:43:30
19 Jul 2024
@ammernico:matrix.niko.moeNico joined the room.10:49:28
27 Jul 2024
@oxi_d:matrix.orgEu joined the room.10:54:17
3 Aug 2024
@burntk:matrix.orgSam O’nella changed their profile picture.19:37:00
@burntk:matrix.orgSam O’nella changed their profile picture.19:37:40
@burntk:matrix.orgSam O’nella changed their profile picture.19:37:57
@burntk:matrix.orgSam O’nella changed their profile picture.19:40:24
4 Aug 2024
@kdwarn2:matrix.orgkdwarn joined the room.21:28:42
18 Aug 2024
@chrisbit:matrix.orgchrisbit joined the room.03:38:02
@matthew:matrix.orgMatthew changed their display name from Matthew to Matthew (away).10:31:08
20 Aug 2024
@gtema:matrix.orggtema (Artem Goncharov) joined the room.14:49:29
22 Aug 2024
@gtema:matrix.orggtema (Artem Goncharov)Hey guys. I am fighting with extremely high CPU usage. I know it is recommended to only render when necessary, but that still causes pretty noticeable spikes. https://github.com/ratatui/templates/tree/main/component-generated (which defaults at refresh rate of 60) causes 50% CPU utilization of the single core. And the app is pretty much doing nothing10:23:14
@gtema:matrix.orggtema (Artem Goncharov) moreover, if I comment out all the rendering inside the https://github.com/ratatui/templates/blob/main/component-generated/src/app.rs#L165 (while leaving the tui.draw call itself) it is still having heavy usage 10:24:01
@gtema:matrix.orggtema (Artem Goncharov)that means call to tui.draw itself is producing load even if there is literally nothing to draw10:25:19
@gtema:matrix.orggtema (Artem Goncharov)just to clarify - commenting out the tui.draw call itself immediately "fixes" the cpu usage what proves the draw itself is a problem10:45:20
@joshkaa:matrix.orgjoshka

Hey the discord to matrix bridge is mostly broken. I need to spend some time to fix it, but it’s not been a priority.

Try running your app using release mode. Debug mode can be really slow.

21:52:30
28 Aug 2024
@erth:noevil.plerth joined the room.14:58:05
1 Sep 2024
@erth:noevil.plerth Would it be feasible to make an app in the like of for example cowsay in Ratatui using Viewport::Inline() or Viewport::Fixed()? 16:52:17
@erth:noevil.plerth* Would it be feasible to make an app in the like of for example cowsay in Ratatui using Viewport::Inline(\_) or Viewport::Fixed(\_)?17:00:31
@erth:noevil.plerth* Would it be feasible to make an app in the like of for example cowsay in Ratatui using Viewport::Inline() or Viewport::Fixed()?17:00:38
@matthew:matrix.orgMatthew changed their display name from Matthew (away) to Matthew.17:26:10
3 Sep 2024
@eher:matrix.orgEher joined the room.23:36:52
4 Sep 2024
@ammernico:matrix.niko.moeNico
In reply to @erth:noevil.pl
Would it be feasible to make an app in the like of for example cowsay in Ratatui using Viewport::Inline() or Viewport::Fixed()?
Sound feasible. But also newer used inline and i'm somewhat new to ratatatui. Using the library sounds a bit overkill for just writing another cowsay. But you could create cowsay with animations
11:55:07
@erth:noevil.plerthAnimated cowsay, that would be great, hahah.18:25:37
@erth:noevil.plerthYeah, something like this seems like a niche use case for Ratatui but I want that thing I want to make to be customizable a lot18:26:19

Show newer messages


Back to Room ListRoom Version: 10