fn draw_message_bar(&mut self) -> Vec<u8> {
        let mut v: Vec<u8> = Vec::new();
        v.extend(CLEAR_LINE);

        // after a status update is made, only draw it for 5 seconds
        if !self.status_msg.is_empty() && get_time().sub(self.status_time).num_seconds() < 5 {
            v.extend(self.status_msg.as_bytes());
        }
        v
    }
/// Return text that should be displayed in the message bar
///
/// The message bar is for prompts or transient messages
Return text that should be displayed in the message bar
The message bar is for prompts or transient messages
Return text that should be displayed in the message bar The message bar is for prompts or transient messages
fn draw_message_bar(&mut self) -> Vec<u8> {
        let mut v: Vec<u8> = Vec::new();
        v.extend(CLEAR_LINE);
        // after a status update is made, only draw it for 5 seconds
        if !self.status_msg.is_empty() && get_time().sub(self.status_time).num_seconds() < 5 {
            v.extend(self.status_msg.as_bytes());
        }
        v
    }
fn draw_message_bar ( & mut self ) -> Vec < u8 > { let mut v : Vec < u8 > = Vec :: new ( ) ; v . extend ( CLEAR_LINE ) ; // after a status update is made, only draw it for 5 seconds if ! self . status_msg . is_empty ( ) && get_time ( ) . sub ( self . status_time ) . num_seconds ( ) < 5 { v . extend ( self . status_msg . as_bytes ( ) ) ; } v }
Return text that should be displayed in the message bar
The message bar is for prompts or transient messages
Return text that should be displayed in the message bar The message bar is for prompts or transient messages
&mut self