ucb-bar / hammer

Hammer: Highly Agile Masks Made Effortlessly from RTL
BSD 3-Clause "New" or "Revised" License
253 stars 55 forks source link

After abruptly terminating hammer-vlsi, the terminal needs reset #69

Closed colinschmidt closed 3 years ago

colinschmidt commented 6 years ago

The terminal is left in a weird state and I have to clear or reset it to normalize.

edwardcwang commented 6 years ago

Did you kill hammer-vlsi when it was printing out a colored line? Unfortunately if hammer gets killed before it can send out the end of the escape sequence, I'm not aware of techniques to programmatically reset the terminal.

colinschmidt commented 6 years ago

One example is there is an error in genus, it doesn't exit so I press control-c and then hammer also quits, and my terminal is messed up. I don't believe this happens if I control-c out of genus directly

stevobailey commented 6 years ago

Does your terminal not show any text on the screen, but typing a command seems to still work? Similar to how SSH password fields don't show what you're typing but will still receive your typed input. This is an issue with quitting CAD tools during execution that I've seen at times. It might be avoided by launching the tools in a new shell?