pub fn create(context: Context) -> Prompt {
        let editor = editor::create(&context);
        Prompt {
            context,
            editor,
            restore_env: HashMap::new(),
            delete_env: HashSet::new(),
        }
    }
/// Create prompt from context but don't load history or environment.
Create prompt from context but don't load history or environment.
Create prompt from context but don ' t load history or environment .
pub fn create(context: Context) -> Prompt {
        let editor = editor::create(&context);
        Prompt {
            context,
            editor,
            restore_env: HashMap::new(),
            delete_env: HashSet::new(),
        }
    }
pub fn create ( context : Context ) -> Prompt { let editor = editor :: create ( & context ) ; Prompt { context , editor , restore_env : HashMap :: new ( ) , delete_env : HashSet :: new ( ) , } }
Create prompt from context but don't load history or environment.
Create prompt from context but don ' t load history or environment .
context
Context