• rswindell's avatar
    Now supports global insert toggle (console CON_INSERT bit). · e536e2c4
    rswindell authored
    Removed CRLFs even when K_NOCRLF mode bit is set under some circumstances.
    Ctrl-Z (if not handled by inkey) will undo any changes made to the line.
    Insert indicator (flashing block) is now placed in (normally unused) cell 1,80
    (fixes wrap problem when using insert during input on bottom line of terminal).
    Insert mode is no longer automatically turned off at end of string.
    Ctrl-Y will now delete the entire line (ala Ctrl-X) if used at EOL.
    Optimized Ctrl-Y/X clearing of line for ANSI terminals.
    e536e2c4
getstr.cpp 15.5 KB