class_docstr: ::
  
      with raw_mode(stdin):
          ''' the pseudo-terminal stdin is now used in raw mode '''
  
  We ignore errors when executing `tcgetattr` fails.
code: def _patch_lflag(cls, attrs: int) -> int:
      return attrs & ~(
          termios.ECHO | termios.ICANON | termios.IEXTEN | termios.ISIG
      )
  
imports: from __future__ import annotations
  import sys
  import contextlib
  import io
  import termios
  import tty
  from asyncio import AbstractEventLoop, get_running_loop
  from typing import Callable, ContextManager, Generator, TextIO
  from ..key_binding import KeyPress
  from .base import Input
  from .posix_utils import PosixStdinReader
  from .vt100_parser import Vt100Parser
label_desc: Use image node_id 3 for calling the raw_mode obj's underlying member method code with example usage: obj._patch_lflag(cls, attrs) and returns: unknown