include/curses_utils.h
/*!
     * Typed in chars will be interpreted here.
     * @param ch char the user typed in the terminal.
     */
Typed in chars will be interpreted here.
@param ch char the user typed in the terminal.
Typed in chars will be interpreted here . @param ch char the user typed in the terminal .
void pass_input(int ch) {
        if (ch != 91 && ch != 27) {
            if (ch == 127) {
                if (this->text.length()) {
                    this->text.pop_back();
                }
            } else {
                this->text += static_cast<char>(ch);
            }
            this->redraw_subwin();
        }
    }
void pass_input ( int ch ) { if ( ch != 91 && ch != 27 ) { if ( ch == 127 ) { if ( this -> text . length ( ) ) { this -> text . pop_back ( ) ; } } else { this -> text += static_cast < char > ( ch ) ; } this -> redraw_subwin ( ) ; } }
Typed in chars will be interpreted here.
Typed in chars will be interpreted here .