# lib/std/os/windows/kernel32: add signature for SetConsoleMode \(\#18715\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e69caaa39f06b7ddf00c1e439c3df91f4efbdef3)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e69caaa39f06b7ddf00c1e439c3df91f4efbdef3

Requested commit: e69caaa39f06b7ddf00c1e439c3df91f4efbdef3

Commit: e69caaa39f06b7ddf00c1e439c3df91f4efbdef3

Tree: 6b4921887efb693b54cc21adc3625a4e4cf87c23

Author: Garfield Lee

Committer: GitHub

## Message

```
lib/std/os/windows/kernel32: add signature for SetConsoleMode (#18715)

- From lib/libc/include/any-windows-any/wincon.h#L235
- See also https://learn.microsoft.com/en-us/windows/console/setconsolemode
- Also add DISABLE_NEWLINE_AUTO_RETURN constant which will be used by SetConsoleMode in lib/std/os/windows.

Co-authored-by: Kexy Biscuit <kexybiscuit@biscuitt.in>
```

## Parents

- [4163126c01c6439acd7a1f958d49b1ae4eeb9e68](https://git.cafe/gitcafe/zig/commit/4163126c01c6439acd7a1f958d49b1ae4eeb9e68?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e69caaa39f06b7ddf00c1e439c3df91f4efbdef3?format=markdown)
