diff options
author | gatecat <gatecat@ds0.me> | 2021-02-22 10:48:21 +0000 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-02-22 10:48:21 +0000 |
commit | 3b451743753fc99d56e424d04f810c59acd33968 (patch) | |
tree | 50e375e76a50a99576e385b01f6f47cb95769372 /gui | |
parent | c0a7cff3048f51855b1df14c6d1c2b3ad200a713 (diff) | |
download | nextpnr-3b451743753fc99d56e424d04f810c59acd33968.tar.gz nextpnr-3b451743753fc99d56e424d04f810c59acd33968.tar.bz2 nextpnr-3b451743753fc99d56e424d04f810c59acd33968.zip |
pyconsole: Avoid lockup when reading from stdin
Create an empty temporary file for stdin; so reads fail rather than
locking up (otherwise doing help() would be enough to completely lock up
the GUI).
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'gui')
0 files changed, 0 insertions, 0 deletions