diff options
Diffstat (limited to 'term')
-rw-r--r-- | term/devio.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/term/devio.c b/term/devio.c index 870f969c..b813178b 100644 --- a/term/devio.c +++ b/term/devio.c @@ -354,8 +354,11 @@ devio_abandon_physical_output () static void devio_suspend_physical_output () { - device_set_status (phys_device, TTY_STOP, 0, 0); - output_stopped = 1; + if (!output_stopped) + { + device_set_status (phys_device, TTY_STOP, 0, 0); + output_stopped = 1; + } } |