Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
intecept -> intercept (#26742)
Browse files Browse the repository at this point in the history
* typo

* typo

* Typo

* Typo

* Fix a typo
  • Loading branch information
github-john-doe authored and stephentoub committed Feb 1, 2018
1 parent 6000379 commit 7c4d35b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Native/Unix/System.Native/pal_console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static void IncorporateBreak(struct termios *termios, int32_t signalForBreak)
termios->c_lflag &= static_cast<uint32_t>(~ISIG);
}

// In order to support Console.ReadKey(intecept: true), we need to disable echo and canonical mode.
// In order to support Console.ReadKey(intercept: true), we need to disable echo and canonical mode.
// We have two main choices: do so for the entire app, or do so only while in the Console.ReadKey(true).
// The former has a huge downside: the terminal is in a non-echo state, so anything else that runs
// in the same terminal won't echo even if it expects to, e.g. using Process.Start to launch an interactive,
Expand Down

0 comments on commit 7c4d35b

Please sign in to comment.