Changeset e8a9dc3 in mainline for arch/mips32/src/drivers/arc.c


Ignore:
Timestamp:
2005-12-10T16:37:20Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e5fcf00
Parents:
f7f6f25
Message:

Added support for backspace

  • printing '\b' should move the cursor one char to the left
  • backspace key should return '\b' to application
File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/src/drivers/arc.c

    rf7f6f25 re8a9dc3  
    210210        if (ch == '\r')
    211211                ch = '\n';
    212 
     212        if (ch == 0x7f)
     213                ch = '\b';
     214       
    213215        chardev_push_character(&console, ch);
    214216}
Note: See TracChangeset for help on using the changeset viewer.