diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-08 01:23:23 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-08 01:23:47 +0100 |
commit | da3857b0c23a4e99edc2481c93c7f3bebda510cc (patch) | |
tree | e32c162d311a06f3678b28a967344b04c9f77ee0 /Kernel/VirtualConsole.h | |
parent | e287f8ef3adc88112e1c2336adc4a27365058db8 (diff) | |
download | serenity-da3857b0c23a4e99edc2481c93c7f3bebda510cc.zip |
Add some simple write buffering to LibC's stdio.
Plumb it all the way to the VirtualConsole. Also fix /bin/cat to write()
the whole chunks we get from read() directly to stdout.
Diffstat (limited to 'Kernel/VirtualConsole.h')
-rw-r--r-- | Kernel/VirtualConsole.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VirtualConsole.h b/Kernel/VirtualConsole.h index 205e567f3e..6ef8ec7927 100644 --- a/Kernel/VirtualConsole.h +++ b/Kernel/VirtualConsole.h @@ -23,7 +23,7 @@ private: virtual void onConsoleReceive(byte) override; // ^TTY - virtual void onTTYWrite(byte) override; + virtual void onTTYWrite(const byte*, size_t) override; virtual String ttyName() const override; void set_active(bool); |