this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

widgets(terminal): allow for always joining thread

Write an EOT into the tty stream so after killing the process we
*always* are able to join the thread. Maybe this is the very reason the
EOT control byte exists?

+3
+3
src/widgets/terminal/Terminal.zig
··· 89 89 self.should_quit = true; 90 90 self.cmd.kill(); 91 91 if (self.thread) |thread| { 92 + // write an EOT into the tty to trigger a read on our thread 93 + const EOT = "\x04"; 94 + _ = std.posix.write(self.pty.tty, EOT) catch {}; 92 95 thread.join(); 93 96 self.thread = null; 94 97 }