You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// different code to the video, but same problem within tokio::select!use crossterm::{
event::{self,Event},
terminal::enable_raw_mode,};pubstructKeyEventListener{}implKeyEventListener{pubfnnew() -> Self{KeyEventListener{}}pubasyncfnrun(self) -> anyhow::Result<()>{enable_raw_mode()?;loop{
tokio::select! {Ok(event) = tokio::task::spawn_blocking(|| event::read()) => {match event {Ok(Event::Key(key_event)) => {}
_ => {}}}}}}}fnmain(){}
here is record about wired problem inside tokio::select! I think ?
2025-05-24.13-48-41.mp4
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
rust-analyzer version: 2025-05-19
rustc version: rustc 1.87.0 (17067e9ac 2025-05-09)
editor or extension: Neovim
relevant settings: all default
repository link (if public, optional): none
code snippet to reproduce:
here is record about wired problem inside tokio::select! I think ?
2025-05-24.13-48-41.mp4
The text was updated successfully, but these errors were encountered: