MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / tty_update_flags

Function tty_update_flags

extern/editline/src/tty.c:950–962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

948
949
950private void
951tty_update_flags(EditLine *el, int kind)
952{
953 tcflag_t *tt, *ed, *ex;
954 tt = tty__get_flag(&el->el_tty.t_ts, kind);
955 ed = tty__get_flag(&el->el_tty.t_ed, kind);
956 ex = tty__get_flag(&el->el_tty.t_ex, kind);
957
958 if (*tt != *ex && (kind != MD_CTL || *tt != *ed)) {
959 *ed = tty_update_flag(el, *tt, ED_IO, kind);
960 *ex = tty_update_flag(el, *tt, EX_IO, kind);
961 }
962}
963
964
965private void

Callers 1

tty_rawmodeFunction · 0.85

Calls 2

tty__get_flagFunction · 0.85
tty_update_flagFunction · 0.85

Tested by

no test coverage detected