Execute PostScript infinite loop.
(self, arg)
| 531 | |
| 532 | # ------------------------[ hang ]------------------------------------ |
| 533 | def do_hang(self, arg): |
| 534 | "Execute PostScript infinite loop." |
| 535 | output().warning("Warning: This command causes an infinite loop rendering the") |
| 536 | output().warning("device useless until manual restart. Press CTRL+C to abort.") |
| 537 | if output().countdown("Executing PostScript infinite loop in...", 10, self): |
| 538 | self.cmd('{} loop', False) |
| 539 | |
| 540 | # ==================================================================== |
| 541 |