mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 18:06:56 +02:00
As "\n" is translated to "\r\n" in TTYs, the condition for a write to succeed on a pseudoterminal should check if the underlying buffer has 2 bytes empty rather than 1. Fixes SerenityOS#18888
3.7 KiB
3.7 KiB