runner icon indicating copy to clipboard operation
runner copied to clipboard

add support for input from terminal stdin

Open futurist opened this issue 3 years ago • 0 comments

Is it possible to add support for input from terminal stdin like below?

runner --add time <<'EOF'
use time;
fn main(){
  println!("I'm from stdin! {}", time::now().rfc822z());
}
EOF

That way it's very straight forward to experiment in the air without any file storage.

futurist avatar Sep 20 '21 02:09 futurist