tools/litex_term: exit on 2 consecutive CTRL-C
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 10 Jun 2019 13:06:57 +0000 (15:06 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 10 Jun 2019 13:06:57 +0000 (15:06 +0200)
commitcfa952b062494ce64aa13ff7cd036c4dbf877ac5
tree94d21083aad095abf4fdfc053060c94727904108
parent1c34b4a015c02076b92a594fd70278a67410b3a0
tools/litex_term: exit on 2 consecutive CTRL-C

When running OS with LiteX and when LiteXTerm is use, we want to be able to
send CTRl-C to the OS. Ensure a specific sequence is sent to close the terminal.
litex/tools/litex_term.py