Fix up tsak

pull/1/head
Timothy Pearson 13 years ago
parent 96c9b7f819
commit bb1850b7c3

@ -329,9 +329,11 @@ int main (int argc, char *argv[])
} }
if (hide_event == true) { if (hide_event == true) {
// Let anyone listening to our interface know that an SAK keypress was received // Let anyone listening to our interface know that an SAK keypress was received
write(mPipe_fd_out, "SAK\n\r", 6); // I highly doubt there are more than 255 VTs active at once...
write(mPipe_fd_out, "SAK\n\r", 6); int i;
write(mPipe_fd_out, "SAK\n\r", 6); for (i=0;i<255;i++) {
write(mPipe_fd_out, "SAK\n\r", 6);
}
} }
} }
} }

Loading…
Cancel
Save