Set a duration on event

⚓ Rust    📅 2026-05-23    👤 surdeus    👁️ 1      

surdeus

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Set a duration on event

Hi, I'm currently in process of building a TUI. I need to know how would you realize something like time related key stroke tracker. I wish I could add some cool features, such as hitting 'c' twice and it would pop a new layout. I found the std::time that lets you use Duration::time() to set time on something. Do I need to take time snaps or am I overthinking it? Thanks!

1 post - 1 participant

Read full topic

🏷️ Rust_feed