mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Adjust code style to comply with clang-format rules
This commit is contained in:
parent
102657af58
commit
4aa36e6e91
9 changed files with 285 additions and 159 deletions
|
|
@ -90,7 +90,7 @@ static void readline_input_cr(void)
|
|||
rl_history_count++;
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
free(rl_history[0]);
|
||||
memmove(&rl_history[0], &rl_history[1], (RL_HISTORY_MAX - 1) * sizeof(char*));
|
||||
rl_history[RL_HISTORY_MAX - 1] = strndup(rl_line, rl_line_length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue