iota-editor 0.1.0

A simple text editor
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::io;

/// A source of Input for the Editor.
///
/// This is used at startup, where the user can either open a file, or
/// start Iota with data from stdin.
pub enum Input {
    /// A Filename
    Filename(Option<String>),

    /// The stdin reader
    Stdin(io::Stdin),
}