system/termcurses/tcurses_vt100.c: Costmetic vertical alignment.
This commit is contained in:
parent
cc8beb8578
commit
a79b89202e
@ -868,6 +868,7 @@ static int tcurses_vt100_getkeycode(FAR struct termcurses_s *dev, FAR int *speci
|
||||
ctrl_seq = false;
|
||||
buildkey[0] = ch;
|
||||
keybuildcount = 1;
|
||||
|
||||
if (x + 1 != priv->keycount)
|
||||
{
|
||||
continue;
|
||||
@ -911,7 +912,7 @@ static int tcurses_vt100_getkeycode(FAR struct termcurses_s *dev, FAR int *speci
|
||||
{
|
||||
/* Test if previous char was '1' */
|
||||
|
||||
if (buildkey[keybuildcount-1] == '1')
|
||||
if (buildkey[keybuildcount - 1] == '1')
|
||||
{
|
||||
buildkey[--keybuildcount] = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user