File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -111,9 +111,9 @@ via pressing `Ctrl+C`. This signal handling could overlap with registered specif
111111handler on upper level or inside keyboard handler's clients. To avoid this overlap keyboard handler
112112will save previous ` SIGINT ` handler and call it after processing its own signal handler. It will
113113also restore the previous ` SIGINT ` handler in destructor. The keyboard handler constructor has an
114- optional parameter ` bool handle_sigint ` which by default is set to ` true ` . If this parameter
115- is set to ` false ` , keyboard handler will not register its own ` SIGINT ` handler and will not
116- restore previous ` SIGINT ` handler in destructor. This could be useful in cases when client
114+ optional parameter ` bool install_signal_handler ` which by default is set to ` true ` . If this
115+ parameter is set to ` false ` , keyboard handler will not register its own ` SIGINT ` handler and
116+ will not restore previous ` SIGINT ` handler in destructor. This could be useful in cases when client
117117code already registered its own ` SIGINT ` handler and don't want to overlap it with keyboard
118118handler's one. In this case client code should be responsible for restoring terminal input in
119119canonical mode after abnormal program termination via pressing ` Ctrl+C ` by calling static method
@@ -249,4 +249,3 @@ issues:
249249 `F1..F12` and other control keys.
250250 - Windows implementation not able to detect `CTRL` + `ALT` + `key` combinations.
251251 - Windows implementation not able to detect `ALT` + `F1..12` keys.
252-
You can’t perform that action at this time.
0 commit comments