Skip to content

Commit f8fa4d4

Browse files
authored
fix typos and wording on sigint section of docs (#1104)
- fix typos where SIGINT is misspelt as SIGING - fix wording on the docs to reflect that the session will, by default, not be exited when Ctrl-C is input
1 parent 29cdd26 commit f8fa4d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,11 @@ During the session, method `conf.ignore_eof?` returns the setting, and method `c
256256

257257
### SIGINT
258258

259-
By default, `IRB.conf[:IGNORE_SIGINT]` is `true`, which means that typing the interrupt character `Ctrl-C` causes the session to exit.
259+
By default, `IRB.conf[:IGNORE_SIGINT]` is `true`, which means that typing the interrupt character `Ctrl-C` does not cause the session to exit.
260260

261-
You can reverse that behavior by adding `IRB.conf[:IGNORE_SIGING] = false` to the configuration file.
261+
You can reverse that behavior by adding `IRB.conf[:IGNORE_SIGINT] = false` to the configuration file.
262262

263-
During the session, method `conf.ignore_siging?` returns the setting, and method `conf.ignore_sigint = *boolean*` sets it.
263+
During the session, method `conf.ignore_sigint?` returns the setting, and method `conf.ignore_sigint = *boolean*` sets it.
264264

265265
### Automatic Completion
266266

0 commit comments

Comments
 (0)