mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-13 03:06:10 +00: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