1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-15 21:52:24 +00:00
serenity/Kernel/TTY
Aman Singh fb4a20ade5 Kernel: Fix condition for write to succeed on pseudoterminal
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
2023-08-23 15:26:03 +02:00
..
ConsoleManagement.cpp Kernel: Move all Graphics-related code into Devices/GPU directory 2023-06-06 00:40:32 +02:00
ConsoleManagement.h Kernel: Stop using NonnullLockRefPtrVector 2023-03-06 23:46:36 +01:00
MasterPTY.cpp Kernel: Fix condition for write to succeed on pseudoterminal 2023-08-23 15:26:03 +02:00
MasterPTY.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
PTYMultiplexer.cpp Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
PTYMultiplexer.h Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
SlavePTY.cpp Kernel: Move all tasks-related code to the Tasks subdirectory 2023-06-04 21:32:34 +02:00
SlavePTY.h Kernel: Use UnixDateTime wherever applicable 2023-05-24 23:18:07 +02:00
TTY.cpp Kernel: Move InterruptDisabler to the Interrupts subdirectory 2023-06-04 21:32:34 +02:00
TTY.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
VirtualConsole.cpp Kernel: Move all Graphics-related code into Devices/GPU directory 2023-06-06 00:40:32 +02:00
VirtualConsole.h Kernel: Move all Graphics-related code into Devices/GPU directory 2023-06-06 00:40:32 +02:00