Skip to content

Commit a4f3b37

Browse files
committed
Add comment for ISIG
Signed-off-by: Denisa <denisa@eprosima.com>
1 parent 9690de8 commit a4f3b37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp_utils/src/cpp/event/StdinEventHandler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ void StdinEventHandler::set_terminal_mode_(
232232
// Modify line mode flags
233233
// - ICANON: Desactivate canonic mode (process each character)
234234
// - ECHO: Desactivate echo (does not print what the user writes on terminal)
235+
// - ISIG: Desactivate signals (Ctrl+C, Ctrl+Z)
235236
newt.c_lflag &= ~(ICANON | ECHO | ISIG);
236237

237238
// Apply new configuration

0 commit comments

Comments
 (0)