fn key_left(&mut self, screen: &mut Screen) {
        if self.cursor > 0 {
            self.cursor -= 1;
            self.render_input_box(screen);
        }
    }
/// Should be triggered when LEFT key is pressed.
Should be triggered when LEFT key is pressed.
Should be triggered when LEFT key is pressed .
fn key_left(&mut self, screen: &mut Screen) {
        if self.cursor > 0 {
            self.cursor -= 1;
            self.render_input_box(screen);
        }
    }
fn key_left ( & mut self , screen : & mut Screen ) { if self . cursor > 0 { self . cursor -= 1 ; self . render_input_box ( screen ) ; } }
Should be triggered when LEFT key is pressed.
Should be triggered when LEFT key is pressed .
&mut self
screen
&mut Screen
&mut self
screen
&mut Screen