[all-commits] [llvm/llvm-project] 92fb57: [lldb] [Host] Add setters for common teletype prop...

Michał Górny via All-commits all-commits at lists.llvm.org
Thu Oct 21 01:33:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92fb574c9f20aef56948c51f4921a92efbb72a5b
      https://github.com/llvm/llvm-project/commit/92fb574c9f20aef56948c51f4921a92efbb72a5b
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M lldb/include/lldb/Host/Terminal.h
    M lldb/source/Host/common/Terminal.cpp
    M lldb/unittests/Host/posix/TerminalTest.cpp

  Log Message:
  -----------
  [lldb] [Host] Add setters for common teletype properties to Terminal

Add setters for common teletype properties to the Terminal class:

- SetRaw() to enable common raw mode options

- SetBaudRate() to set the baud rate

- SetStopBits() to select the number of stop bits

- SetParity() to control parity bit in the output

- SetHardwareControlFlow() to enable or disable hardware control flow
  (if supported)

Differential Revision: https://reviews.llvm.org/D111030




More information about the All-commits mailing list