This commit is contained in:
parent
72777a6ac8
commit
4f7fbff2e8
@ -476,17 +476,12 @@ shellmatta_retCode_t shellmatta_processData(shellmatta_handle_t handle,
|
|||||||
utils_terminateInput(inst);
|
utils_terminateInput(inst);
|
||||||
}
|
}
|
||||||
/** -# check for backspace */
|
/** -# check for backspace */
|
||||||
else if('\b' == *data)
|
else if( ('\b' == *data)
|
||||||
|
|| ('\x7f' == *data))
|
||||||
{
|
{
|
||||||
inst->dirty = true;
|
inst->dirty = true;
|
||||||
utils_removeChars(inst, 1u, true);
|
utils_removeChars(inst, 1u, true);
|
||||||
}
|
}
|
||||||
/** -# check for delete key */
|
|
||||||
else if(0x7eu == *data)
|
|
||||||
{
|
|
||||||
inst->dirty = true;
|
|
||||||
utils_removeChars(inst, 1u, false);
|
|
||||||
}
|
|
||||||
/** -# check for start of escape sequence */
|
/** -# check for start of escape sequence */
|
||||||
else if('\x1b' == *data)
|
else if('\x1b' == *data)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user