Skip to content

Commit

Permalink
fix(windows): don't process ctrl+c
Browse files Browse the repository at this point in the history
Ctrl+c is handled by the Tea program rather than the Console API

Fixes: 75966e8 (feat: support windows console input buffer (#878))
  • Loading branch information
aymanbagabas committed Mar 2, 2024
1 parent 2643bea commit 73d971c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion inputreader_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ func newInputReader(r io.Reader) (cancelreader.CancelReader, error) {
originalMode, err := prepareConsole(conin,
windows.ENABLE_MOUSE_INPUT,
windows.ENABLE_WINDOW_INPUT,
windows.ENABLE_PROCESSED_INPUT,
windows.ENABLE_EXTENDED_FLAGS,
)
if err != nil {
Expand Down

0 comments on commit 73d971c

Please sign in to comment.