]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Enable ANSI colors on Windows 10+ (#311)
authoranzz1 <redacted>
Tue, 21 Mar 2023 16:14:46 +0000 (18:14 +0200)
committerGitHub <redacted>
Tue, 21 Mar 2023 16:14:46 +0000 (18:14 +0200)
commitc86ba036e613d46815501a4c6775117c9fc7afce
treee03a99983ddb1a178d05f22c66c7683319983804
parent1daf4dd71235dbbf537738e7ad53daad8d97586f
Enable ANSI colors on Windows 10+ (#311)

* Enable ANSI colors on Windows 10+

On older versions function will silently fail without any ill effects

* Do not call SetConsoleMode if the mode is already set

* Update main.cpp

---------

Co-authored-by: Georgi Gerganov <redacted>
main.cpp