Static code for the special built-in key sequences
This commit is contained in:
parent
4840978273
commit
0fd6439f5a
|
@ -231,7 +231,9 @@ void FTermcap::termcapKeys (char*& buffer)
|
||||||
// Get termcap keys
|
// Get termcap keys
|
||||||
|
|
||||||
// Read termcap key sequences
|
// Read termcap key sequences
|
||||||
for (std::size_t i{0}; fc::fkey[i].tname[0] != 0; i++)
|
for ( std::size_t i{0};
|
||||||
|
fc::fkey[i].string == nullptr && fc::fkey[i].tname[0] != 0;
|
||||||
|
i++ )
|
||||||
fc::fkey[i].string = tgetstr(C_STR(fc::fkey[i].tname), &buffer);
|
fc::fkey[i].string = tgetstr(C_STR(fc::fkey[i].tname), &buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue