src/TerminalObject/Dynamic/Checkboxes.php
protected function handleAnsi()
    {
        switch ($this->reader->char(2)) {
            // Up arrow
            case '[A':
                $this->checkboxes->setCurrent('previous');
            break;

            // Down arrow
            case '[B':
                $this->checkboxes->setCurrent('next');
            break;
        }
    }
protected function handleAnsi()
    {
        switch ($this->reader->char(2)) {
            // Up arrow
            case '[A':
                $this->checkboxes->setCurrent('previous');
            break;

            // Down arrow
            case '[B':
                $this->checkboxes->setCurrent('next');
            break;
        }
    }
protected function handleAnsi ( ) { switch ( $ this -> reader -> char ( 2 ) ) { // Up arrow case '[A' : $ this -> checkboxes -> setCurrent ( 'previous' ) ; break ; // Down arrow case '[B' : $ this -> checkboxes -> setCurrent ( 'next' ) ; break ; } }
Handle any ANSI characters
Handle any ANSI characters