summaryrefslogtreecommitdiff
path: root/Kernel/TTY.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-02 14:06:48 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-02 14:06:48 +0100
commit10b666f69a610c0bdc5bd60efd1d7d2bf499707d (patch)
tree3c552bce003cd7b9a95f161fa12b7d73f902c088 /Kernel/TTY.h
parent621217ffeb9bddec866ad8895bd01973977f2848 (diff)
downloadserenity-10b666f69a610c0bdc5bd60efd1d7d2bf499707d.zip
Basic ^C interrupt implementation.
For testing, I made cat put itself into a new process group. This should eventually be done by sh between fork() and exec().
Diffstat (limited to 'Kernel/TTY.h')
-rw-r--r--Kernel/TTY.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/TTY.h b/Kernel/TTY.h
index e352efa1eb..1770e53a3c 100644
--- a/Kernel/TTY.h
+++ b/Kernel/TTY.h
@@ -23,6 +23,8 @@ protected:
virtual void onTTYWrite(byte) = 0;
+ void interrupt();
+
private:
Vector<byte> m_buffer;
pid_t m_pgid { 0 };