mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Input ICRCRNL mapping to avoid using INLCRNL with ICRNL
This commit is contained in:
parent
d682e98a66
commit
c736b1e353
6 changed files with 46 additions and 19 deletions
|
|
@ -116,6 +116,7 @@ struct option_t option =
|
|||
.map_ign_cr = false,
|
||||
.map_i_ff_escc = false,
|
||||
.map_i_nl_crnl = false,
|
||||
.map_i_cr_crnl = false,
|
||||
.map_o_cr_nl = false,
|
||||
.map_o_nl_crnl = false,
|
||||
.map_o_del_bs = false,
|
||||
|
|
@ -770,6 +771,10 @@ void option_parse_mappings(const char *map)
|
|||
{
|
||||
option.map_i_nl_crnl = true;
|
||||
}
|
||||
else if (strcmp(token,"ICRCRNL") == 0)
|
||||
{
|
||||
option.map_i_cr_crnl = true;
|
||||
}
|
||||
else if (strcmp(token, "ONLCRNL") == 0)
|
||||
{
|
||||
option.map_o_nl_crnl = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue