Commit d41d378a authored by Mart Lubbers's avatar Mart Lubbers
Browse files

add macintosh /dev/cu. devices

parent c60caa1f
Pipeline #15491 passed with stage
in 2 minutes and 58 seconds
......@@ -45,7 +45,7 @@ getTTYDevices w
(map ((+++) "/dev/") (filter isTTY ds))
, w)
isTTY s = not (isEmpty (filter (flip startsWith s) ["tty", "rfcomm"]))
isTTY s = not (isEmpty (filter (flip startsWith s) ["tty", "rfcomm", "cu"]))
makeTTYSettings :: String BaudRate ByteSize Parity Bool Bool Int -> TTYSettings
makeTTYSettings dp br bs pr sb xx st = {TTYSettings | devicePath=dp, baudrate=br,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment