···50505151 /// stops reading from the tty.
5252 pub fn stop(self: *Self) void {
5353+ // If we don't have a thread, we have nothing to stop
5454+ if (self.thread == null) return;
5355 self.should_quit = true;
5456 // trigger a read
5557 self.vaxis.deviceStatusReport(self.tty.anyWriter()) catch {};