cosmopolitan/third_party/linenoise
Justine Tunney e4d25d68e4
Drop support for Windows 8
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
2024-05-29 19:37:47 -07:00
..
BUILD.mk more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
LICENSE Add linenoise to third party 2021-08-14 11:09:54 -07:00
linenoise.c Drop support for Windows 8 2024-05-29 19:37:47 -07:00
linenoise.h Reduce header complexity 2023-11-28 14:39:42 -08:00
README.cosmo Improve Python and Linenoise 2021-09-11 22:30:37 -07:00

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