Show More
@@ -482,7 +482,10 b' def chunkselector(ui, headerlist):' | |||||
482 | """ |
|
482 | """ | |
483 | ui.write(_('starting interactive selection\n')) |
|
483 | ui.write(_('starting interactive selection\n')) | |
484 | chunkselector = curseschunkselector(headerlist, ui) |
|
484 | chunkselector = curseschunkselector(headerlist, ui) | |
|
485 | f = signal.getsignal(signal.SIGTSTP) | |||
485 | curses.wrapper(chunkselector.main) |
|
486 | curses.wrapper(chunkselector.main) | |
|
487 | # ncurses does not restore signal handler for SIGTSTP | |||
|
488 | signal.signal(signal.SIGTSTP, f) | |||
486 |
|
489 | |||
487 | def testdecorator(testfn, f): |
|
490 | def testdecorator(testfn, f): | |
488 | def u(*args, **kwargs): |
|
491 | def u(*args, **kwargs): |
General Comments 0
You need to be logged in to leave comments.
Login now