Commit Graph

56 Commits (7d6fdceb6e19eb61e2190f316f41350a793d49b7)

Author SHA1 Message Date
nick black 1456422d89 use explicit CRLF where necessary on windows #2237 3 years ago
nick black 47bffea4ab extract out tiocgwinsz() #2141 3 years ago
nick black 3c7d23b151 [compat] add set_fd_cloexec() 3 years ago
nick black 6849ed9da7
[input] windows fixes 3 years ago
nick black 8c0d32d986
fix windows build 3 years ago
nick black 6d72fedca9
demo: kill warning on Windows #2062 3 years ago
nick black 1879ecbaff
Windows: declare faccessat() 3 years ago
nick black 93073e595a
move includes from ncport.h to internal compat.h 3 years ago
nick black 55b6800f22 Windows: input layer work #2096
Send standard terminal interrogation queries on Windows.
They've always worked; we simply needed the correct
console settings. Enable screen geometry lookup via
GetConsoleScreenBufferInfo(). This does not resolve
problems affecting e.g. MSYS2, where we're on Windows,
but need to use termios. We'll need a solution for that.
3 years ago
nick black b46f4aed8d Windows: empty define for sigemptyset to eliminate warning #2062 3 years ago
nick black 3f00d07579 set up Windows Terminal very early #2062 3 years ago
nick black 6296a2480f
don't export strndup for C++ code #2073 3 years ago
nick black 1c4bde91fb
clean out windows waitpid() until we have HANDLEs #2062 3 years ago
nick black 0b61b3cd47
sheesh 3 years ago
nick black afffeeaebf
need WinCon.h for GetConsoleScreenBufferInfo() 3 years ago
nick black a6575ebfd7 only define strndup as noexcept on linux 3 years ago
nick black f5dc483410
macOS doesn't like noexcept on strndup sigh 3 years ago
nick black cbf2c51ce4
mark strndup as noexcept 3 years ago
nick black 7c9163d5a1
GetExitCodeProcess: kill compiler error 3 years ago
nick black 54c8189ed2
fix msys2 build for real 3 years ago
nick black 6d4e58202f
fix windows build, ugh 3 years ago
nick black 4d6526a61d ncneofetch rewritten in CLI mode
ncneofetch was previously direct mode followed by rendered mode with
margins, a Frankenstein application if one ever existed. Rewrite it
using CLI mode, extending the latter as necessary to accomplish this
task. We now have one fewer dependency on direct mode, we have better
proven out CLI mode, and we get a ~30% reduction in ncneofetch runtime.
Good stuff! Closes #2030.

Add ncplane_scrollup() and ncplane_scrollup_child()
Cleans up ncport.h
Eliminates some inconsequential memory leaks in ncneofetch
Add SPRIXEL_UNSEEN to avoid invalid moves on
 not-yet-displayed sprixels
3 years ago
nick black f64258f468 windows terminal: add ESCAPE_OP 3 years ago
nick black bf2754cedb get windows working once more 3 years ago
nick black 8f30a91d84 drop windows.h from compat.h 3 years ago
nick black 8074368ac3 purge ncurses aliases #2014 3 years ago
nick black 7a341283d3 shim ncurses A_* constants on windows 3 years ago
nick black ecf24256a1 include winsock2.h before windows.h 3 years ago
nick black 9779dd9fef windows: don't try and use getpwuid() 3 years ago
nick black 01a2dd048e more windows headers 3 years ago
nick black 9d89df85fa compat.h: necessary headers 3 years ago
nick black 78382087f0 mock pid_t for windows 3 years ago
nick black 4c7dc8b327 fake up waitpid() for windows 3 years ago
nick black 4507f0f8e3 expose more of fd.c to windows 3 years ago
nick black 1b1411cae6 restrict sigaction()s to windows 3 years ago
nick black 6154fbcb56 windows: shim sigset_t 3 years ago
nick black 19797b3859 everybody's movin', everybody's groovin', baby #1977 3 years ago
nick black 1113f7dd35
windows: patch out more constants 3 years ago
nick black 03fbf57f24
fix up windows strndup compilation 3 years ago
nick black b867935708
termdesc: wrap linux-only parts up for linux 3 years ago
nick black 3172f4712a
s/SA_SIGNINFO/SA_SIGINFO/g =[ 3 years ago
nick black 3d3561fe0e
windows: elide still more signal jank 3 years ago
nick black fd13b70d27
windows: no sys/ioctl.h, move to compat.h 3 years ago
nick black 8332ff060c
windows: no langinfo.h 3 years ago
nick black c733293421
[rage at sky] 3 years ago
nick black 8df13818de
windows: stub out siginfo_t 3 years ago
nick black 15c3d88ddb
windows: more signal/termios mitigation #463 3 years ago
nick black d90736f84f
define O_CLOEXEC as O_NOINHERIT on windows 3 years ago
nick black d3d0838c07
windows hates all of fd.c 3 years ago
nick black ff2ef8571d
windows: no sys/wait.h, weird printf specifiers 3 years ago