Closed jaggzh closed 7 months ago
My guess is because you're using termset_storage
as a global but you didn't use the global
statement.
Does this work?
def store_termset():
global termset_storage
termset_storage = get_termset()
I'd recommend moving those functions and termset_storage
to a class. Then create an instance and reference the methods for signal.signal()
.
@jaggzh Did adding global
resolve your issue?
How do we handle resetting cbreak and whatnot upon suspend and resume? I'm using:
And tried various methods in the handlers, but nothing works. I end up in a line-buffered mode upon returning from shell (bash).
My current attempt is:
But "still no dice", as the saying goes.