mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
e4d25d68e4
Microsoft caused some very gentle breakages for Cosmopolitan. They removed the version information from the PEB which caused uname to report WINDOWS 0.0.0. We should have called GetVersionExW but that doesn't really exist anymore either. Windows policy is now to give whatever version we used in ape/ape.S. Windows8 has been EOL since 2023-01-10 so lets avoid our modern executables being relegated to legacy infrastructure. Requiring Windows 10+ going forward lets us remove runtime compatibility bloat from the codebase. Further note Cosmopolitan maintains a Windows Vista branch on GitHub, so anyone preferring the older versions, can still have a future with Cosmo. Another neat thing this fixes is UTF-8 support in the console. The changes Microsoft made broke the if statement that enabled UTF8 in terminals. This explains why bug reports had broken arrows. In the future this should be less of an issue, since the PEB code is gone which means we more strictly conform to only Microsoft's WIN32 API |
||
---|---|---|
.. | ||
BUILD.mk | ||
LICENSE | ||
linenoise.c | ||
linenoise.h | ||
README.cosmo |
DESCRIPTION Cosmopolitan Linenoise is a library for interactive pseudoteletypewriter command sessions using ANSI Standard X3.64 control sequences. ORIGIN https://github.com/antirez/linenoise 97d2850af13c339369093b78abe5265845d78220 Author: antirez <antirez@gmail.com> Date: Thu Mar 12 15:51:45 2020 +0100 Use unsigned int instead of uint like rest of code base. DOCUMENTATION See linenoise.c LOCAL CHANGES See linenoise.c