fn clear_history(&mut self) {
        // Purge file
        self.history
            .lock()
            .unwrap()
            .clear()
            .expect("Could not clear history");
    }
/// Purges the entire history
/// TODO: Add option to clear only parts of the history
Purges the entire history
TODO: Add option to clear only parts of the history
Purges the entire history TODO : Add option to clear only parts of the history
fn clear_history(&mut self) {
        // Purge file
        self.history
            .lock()
            .unwrap()
            .clear()
            .expect("Could not clear history");
    }
fn clear_history ( & mut self ) { // Purge file self . history . lock ( ) . unwrap ( ) . clear ( ) . expect ( " " ) ; }
Purges the entire history
TODO: Add option to clear only parts of the history
Purges the entire history TODO : Add option to clear only parts of the history
&mut self
&mut self