1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

TTY: Properly implement echo in VirtualConsole.

VirtualConsole::echo now actually echoes characters
instead of doing nothing.
This commit is contained in:
Drew Stratford 2019-10-31 01:11:41 +13:00 committed by Andreas Kling
parent ed45f67c00
commit 378480e8e4
2 changed files with 8 additions and 1 deletions

View file

@ -33,7 +33,7 @@ private:
// ^TTY
virtual ssize_t on_tty_write(const u8*, ssize_t) override;
virtual StringView tty_name() const override;
virtual void echo(u8) override { return; }
virtual void echo(u8) override;
// ^CharacterDevice
virtual const char* class_name() const override { return "VirtualConsole"; }