Commit Graph

6717 Commits

Author SHA1 Message Date
nick black
652b617ec7
Windows: handle hardcoded special key sequences #2097 2021-08-26 06:00:43 -04:00
nick black
e0cef88494
macos: satisfy all need for clock_nanosleep() 2021-08-26 05:19:25 -04:00
nick black
36d7b1ce4b
notcurses-demo: kill invalid cast in summary table 2021-08-26 05:12:23 -04:00
nick black
2620588a47
macos: statepixel does need compat.c 2021-08-26 05:04:54 -04:00
nick black
e35d37e6d1 Windows: need to add ccc/initc 2021-08-26 08:59:20 -04:00
nick black
3abeb81cb8 propagate early cursor report through interrogation #2094 2021-08-26 08:57:05 -04:00
nick black
06ff30f916 don't build compat.c with every poc 2021-08-26 08:41:32 -04:00
nick black
83976d7fd1
extract_clrs: drop redundant nilayer param 2021-08-26 04:37:35 -04:00
nick black
ae3ada45f3 Windows: use cached inhandle in block_on_input 2021-08-26 08:34:29 -04:00
nick black
1ac2a3c8c8 Windows: invert smkx/rmkx #2097 2021-08-26 08:33:53 -04:00
nick black
35fbb74ed9 Windows: GetConsoleScreenBufferInfo() for cursor location #2094 2021-08-26 08:08:02 -04:00
nick black
db5b3e062c windows: hack together cursor location report in direct mode #2094 2021-08-26 07:36:53 -04:00
nick black
3e29d3f182 Windows Terminal: define cu[udbf] 2021-08-26 07:35:48 -04:00
nick black
e5207c78c2 windows terminal: disable quads/braille 2021-08-26 06:50:59 -04:00
nick black
adbc26dd9b
demo: summary_table() failure is not immediate fail #2099 2021-08-26 02:49:29 -04:00
nick black
2feab02759 Windows: kill last warnings #2062 2021-08-26 06:12:52 -04:00
nick black
6d72fedca9
demo: kill warning on Windows #2062 2021-08-26 02:05:37 -04:00
nick black
1879ecbaff
Windows: declare faccessat() 2021-08-26 02:03:48 -04:00
nick black
93073e595a
move includes from ncport.h to internal compat.h 2021-08-26 02:01:20 -04:00
nick black
d68a3bf948 demo: hook up input on Windows #2062 2021-08-26 05:54:17 -04:00
nick black
409ee08849 Windows: use GetConsoleScreenBufferInfo on *output* handle #1982 2021-08-26 05:44:52 -04:00
nick black
ba030a3293 Windows: kill some warnings 2021-08-26 05:36:43 -04:00
nick black
321f9ecbe2 allow cursor enable/disable without a true tty 2021-08-26 05:14:04 -04:00
nick black
a07650c494
ffmpeg: include avcodec version in banner 2021-08-26 00:58:01 -04:00
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.
2021-08-26 04:41:44 -04:00
nick black
63bafa0bde
Windows: enable/disable linesigs (ENABLE_PROCESSED_INPUT) #2096 2021-08-26 00:07:01 -04:00
nick black
5d0eeb7ec4
Windows: implement cbreak_mode() #2096 2021-08-26 00:04:21 -04:00
nick black
b46f4aed8d Windows: empty define for sigemptyset to eliminate warning #2062 2021-08-25 21:26:27 -04:00
nick black
4f88f6f58c
demo: convert %ju+cast with PRIu64 #2062 2021-08-25 21:23:35 -04:00
nick black
8922a7f3f5
demo: replace some %jd+casts with PRId64 #2062 2021-08-25 21:21:32 -04:00
nick black
6105bc5bd5 direct: remove windows ifdefs #2062 2021-08-26 00:02:16 -04:00
nick black
283bf31a41
Windows: set up output handle, demand utf8 CPs #2094 2021-08-25 00:59:33 -04:00
nick black
e1226783a7
gpm: set maxMod to 0 on suggestion of Autumn Lamonte #1405 2021-08-24 22:31:39 -04:00
nick black
f24a727ac2
rendered mode: adapt to pointer termios #2093 2021-08-24 15:46:56 -04:00
nick black
9eb2a6a23f
direct mode: fix up for pointer-based termios tpreserved #2093 2021-08-24 15:46:10 -04:00
nick black
07ee5a5372 Windows: kill tcsetattr failure path warning #2062 2021-08-24 11:30:00 -04:00
nick black
3f00d07579 set up Windows Terminal very early #2062 2021-08-24 10:59:41 -04:00
nick black
890310abf8
move Windows SetConsoleMode() to before queries #2062 2021-08-24 06:09:55 -04:00
nick black
bb053e82e3 typo in comment 2021-08-24 05:36:23 -04:00
nick black
f7f7c12b47 on SetConsoleMode() failure, proceed to remainder of terminal interrogation #2062 2021-08-24 05:32:16 -04:00
nick black
e49f0eadf1 Windows: use ENABLE_VIRTUAL_TERMINAL_INPUT 2021-08-24 05:17:04 -04:00
nick black
e384f4021c
windows: use SetConsoleMode() on input 2021-08-24 05:11:34 -04:00
nick black
9477299972 input: use WaitForMultipleEvents() on Windows 2021-08-24 05:04:40 -04:00
nick black
fcb2608c24 Merge branch 'master' of github.com:dankamongmen/notcurses 2021-08-24 04:13:49 -04:00
nick black
541aa65719 WSAPoll: properly calculate windows input timeout 2021-08-24 04:13:36 -04:00
nick black
9834e8a594
add notes about UTF-8 in Windows Terminal 2021-08-24 04:00:36 -04:00
nick black
f4f2bdd2f6 ncport: use wcslen as approximation to wcswidth for now 2021-08-24 03:43:41 -04:00
nick black
5c3e3017ae ncneofetch: print windows logo, detect windows 2021-08-24 03:27:37 -04:00
nick black
66071a9574 init_banner: don't print framebuffer size on altpath 2021-08-24 03:15:38 -04:00
nick black
5840885fd1 ncls: opendir() instead of openat+fdopendir for Windows #2062 2021-08-24 02:40:55 -04:00