Commit Graph

4701 Commits (f096064648d86f7ce5c67c2587fd0612fd2caafa)

Author SHA1 Message Date
nick black 0d948dcbf4
[plots] call destructors on error paths 3 years ago
nick black 5527fabdf5
[input] initialize ncinput all the way through 3 years ago
nick black 36825374b9
[shutdown] ensure kitty pop goes to tty
In notcurses_stop_minimal(), we need to send most of
our resets prior to sending rmcup. rmcup and the kitty
pop, furthermore, need to be going to the ttyfd to match
their opposites. They were previously going to stdout,
meaning the kitty pop wasn't acted on when we redirected
stdout. Closes #2149.
3 years ago
nick black b74b23ad7c
handle kitty's augmented backspace 3 years ago
nick black d82a30cf97 [sixel] finish opaque side of update_rmatrix #2133 3 years ago
nick black c24a31d49d [sixel] update_rmatrix() logic for transparency side #2133 3 years ago
nick black a406a5f8ef introduce pixel_refresh #2133 3 years ago
nick black 4dc6b7e826
[plots] kill bogon duplicate plot plane #2133 3 years ago
nick black 953243971d
sprite_draw: properly place bound planes 3 years ago
nick black 16dc202362
[intro] don't fail out on unicode failures 3 years ago
nick black 270572c477
[egcpool] make it safe for c++ callers 3 years ago
nick black fac2cd7045
[notcurses-input] fix for non-pixel terminals 3 years ago
nick black d941a012c4
[render] on pile change, move to UNSEEN, not INVALIDATED 3 years ago
nick black cb039eafdf
restore termios settings before calling rmcup 3 years ago
nick black a299c3226d
[direct] pop kitty keyboard state to ttyfd #2145 3 years ago
nick black 1c72516c06
[direct] finalize fbuf on exit 3 years ago
nick black 61ee8b8668
sprixel: damage only on sprite_wipe() failure 3 years ago
nick black 1827a7d58d
[sixel] correctly invalidate on wipe #2142 3 years ago
nick black 882664b6c9
notcurses-input: use max sixelgeom as limiter on plot width #2140 3 years ago
nick black ac5efd529d
[initbanner] properly clreol, ugh 3 years ago
nick black ca3635c28d
render: sanity when we hit an undamaged cell when debugging #2133 3 years ago
nick black d07221ecac
closing banner: clear lines #2134 3 years ago
nick black 83bb816c15
clear to end of line in init banner, if el is available #2134 3 years ago
nick black 108012950e
notcurses-info: indicate that el capability is present 3 years ago
nick black 335f47afe8
extract banner code into banner.{ch} #2134 3 years ago
nick black 0be7412376
only synthesize signals on non-windows #2131 3 years ago
nick black 2268328b3d
synthesize SIG{INT, TSTP, QUIT} for appropriate ctrls #2131 3 years ago
nick black 1ace0139ff mention kitty keyboard protocol support #2131 3 years ago
nick black f44d5bb97b [input] close off the kitty specials list #2131 3 years ago
nick black e1b84d6c41 handle legacy function key encodings #2131 3 years ago
nick black c340a5b6b0 always add windows special keys #2131 3 years ago
nick black 25afdd8ab6 [kitty] handle level 1 of keyboard protocol #2131 3 years ago
nick black e1a1ac3497
eliminate double-free of tpreserved 3 years ago
nick black e968b3972c
fills unit test: require nccell_strdup() success 3 years ago
nick black 39f9dd3b96
kill fbuf_at(), eliminating static analyzer warning #1348 3 years ago
nick black cd14e914fa
render: eliminate dead stores 3 years ago
nick black 2e1ccdce15
interrogate_terminfo: avoid double-free on error path 3 years ago
nick black 42d1722ec7
reel: protect against NULL bottom plane 3 years ago
nick black d03051d154
notcurses_core_init: kill memory leak on error path 3 years ago
nick black 429485551a [ncdirect] postition cursor after blitting image #2059 3 years ago
nick black 6ba5a98a7c ncdirect_dump_plane: manually scroll before emitting plane #2059 3 years ago
nick black 823e79416b
[input] simplify startup automaton, unpop csi inputs 3 years ago
nick black 582e7b24c5
complete initial libgpm support #1405 3 years ago
nick black 1463049d32
add ncinput_shovel for GPM #1405 3 years ago
nick black e245fa0fb2
block_on_input: mintty ought fall through to poll 3 years ago
nick black 009530c0cf properly read cursor report from infd #2130 3 years ago
nick black ccd2068ee3 calculate pixel-cell geometry from responses 3 years ago
nick black fcd845c99a
[windows] kill compiler warning 3 years ago
nick black 71f491ad23
sixel_scrub: don't persist sixel override across loop #2106 3 years ago
nick black 0ee5ba4ffe
only use tpreserved when it's not NULL #2132 3 years ago
nick black 0fd2fe7ce1
restore terminal settings on interrogate_terminfo() failure #2132 3 years ago
nick black 556c448ee6
clean_sprixels: drop unnecessary cursor move 3 years ago
nick black ea75d9355c
[render] adjust bitmaps for scrolling
If a sprixel is in SPRIXEL_MOVED, check to see whether
it's the same x position as it was before, and whether
it's moved up a number of rows equal to the number of
scrolls. If that is the case, take the sprixel to
SPRIXEL_QUIESCENT rather than actually redrawing. This
both saves us a blit, and properly aligns bitmaps when
sixels scroll. Closes #2110.
3 years ago
nick black ae1121402d
ncneofetch: accept -v 3 years ago
nick black 1b3c580a23 gpm: only use DRAG, DOWN, and UP, not MOVE #1405 3 years ago
nick black 9df967289f decode GPM events 3 years ago
nick black d7c74b8fda multiselect PoC: NCLOGLEVEL_ERROR 3 years ago
nick black b6844ca214 notcurss-input: NCLOGLEVEL_ERROR 3 years ago
nick black cd7b4c021d gpm: add version to banner, launch thread #1405 3 years ago
nick black 88ed5a48ab [linux] don't close fb fd before font change #2108 3 years ago
nick black 22386f3154 [linux] blit fb copy back after font change
After reprogramming the Linux console font, remap
the framebuffer. Verify that the size and geometry
match the copy we made beforehand, and assuming
they do, blit the copy back into the framebuffer.
This allows us to reprogram the console font while
maintaining any graphics present. Closes #2108.
3 years ago
nick black 6a6b9ad3b8 [linux] move fbdup code into linux.c #2108 3 years ago
nick black b8e9b235ea [linux] add copy_and_close_linux_fb #2108 3 years ago
nick black 4bcd773569
[linux] reprogram font before mapping framebuffer
You can't reprogram the Linux console font while holding
a map of the framebuffer, annoyingly. Move the attempt to
reprogram the fonts prior to the acquisition of the
framebuffer. The problem with this is that it clears the
framebuffer, so we're going to need to get a copy of it
beforehand, which we will reblit afterwards #2108.
3 years ago
nick black 38495fd00b
[linux] track halfblocks distinctly from quads wrt font #2121 3 years ago
nick black e49891100a mintty has bce 3 years ago
nick black 333c614120
ncneofetch: drop ending newline 3 years ago
nick black 8802bf115e Windows Terminal lacks smulx, but MinTTY has it 3 years ago
nick black d7d18dcb64 Windows: GetUserNameExA(NameSamCompatible), correct test 3 years ago
nick black 83744f17bb Windows: on cygwin/msys2, use regular cursor lookup #2098 3 years ago
nick black 8097b937c0 Windows: introduce tty_check() wrapper for isatty() #2098 3 years ago
nick black 2732620821
stop_minimal: use TCSAFLUSH to stop responses from emerging 3 years ago
nick black 0a959617c6
detect MinTTY with XTVERSION #2115 3 years ago
nick black eaa67c1974 throw a diagnostic before blocking_write() 3 years ago
nick black a5dc162a29
send cell geometry query in initial handshake, use result #2098 3 years ago
nick black 84b72e1e6b
lookup_blitset: handle exclusive plotter blitters #2113 3 years ago
nick black 54c1d3bbae
notcurses-input: move legend to bottom row
We don't want to possibly draw an NCBLIT_PIXEL plot
over the bottom row, lest we incur undesirable
scrolling. Instead, move the legend from the top row
to the bottom row, and the plot one row above it.
3 years ago
nick black 14533c4e73
linux console: no halfblocks unless we bring 'em #2109 3 years ago
nick black ff12a1f75b
distinguish between halfblock and quadrant capabilities #2109 3 years ago
nick black c2616c6cbb
Unit tests for bitmap wandering offscreen to the left and right #1646 3 years ago
nick black 7ad34fc282
sixel: knock out memory leak when replacing annihilated sprixcells #2104 3 years ago
nick black fad79035e7
gpm: stash connect fd 3 years ago
nick black bdc593a8ff
fbcon: properly use fbuf 3 years ago
nick black b13ecb31f9
notcurses-info: show whether we're using gpm 3 years ago
nick black 919a549367
libgpm: keep the fd around #1405 3 years ago
nick black 28bc8411b5
sixel: free sixelmap on recycle #2104 3 years ago
nick black 06351d5a39
windows: s/65001/CP_UTF8 3 years ago
nick black 652b617ec7
Windows: handle hardcoded special key sequences #2097 3 years ago
nick black e0cef88494
macos: satisfy all need for clock_nanosleep() 3 years ago
nick black 36d7b1ce4b
notcurses-demo: kill invalid cast in summary table 3 years ago
nick black 2620588a47
macos: statepixel does need compat.c 3 years ago
nick black e35d37e6d1 Windows: need to add ccc/initc 3 years ago
nick black 3abeb81cb8 propagate early cursor report through interrogation #2094 3 years ago
nick black 83976d7fd1
extract_clrs: drop redundant nilayer param 3 years ago
nick black ae3ada45f3 Windows: use cached inhandle in block_on_input 3 years ago
nick black 1ac2a3c8c8 Windows: invert smkx/rmkx #2097 3 years ago
nick black 35fbb74ed9 Windows: GetConsoleScreenBufferInfo() for cursor location #2094 3 years ago
nick black db5b3e062c windows: hack together cursor location report in direct mode #2094 3 years ago
nick black 3e29d3f182 Windows Terminal: define cu[udbf] 3 years ago
nick black e5207c78c2 windows terminal: disable quads/braille 3 years ago
nick black adbc26dd9b
demo: summary_table() failure is not immediate fail #2099 3 years ago
nick black 2feab02759 Windows: kill last warnings #2062 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 d68a3bf948 demo: hook up input on Windows #2062 3 years ago
nick black 409ee08849 Windows: use GetConsoleScreenBufferInfo on *output* handle #1982 3 years ago
nick black ba030a3293 Windows: kill some warnings 3 years ago
nick black 321f9ecbe2 allow cursor enable/disable without a true tty 3 years ago
nick black a07650c494
ffmpeg: include avcodec version in banner 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 63bafa0bde
Windows: enable/disable linesigs (ENABLE_PROCESSED_INPUT) #2096 3 years ago
nick black 5d0eeb7ec4
Windows: implement cbreak_mode() #2096 3 years ago
nick black b46f4aed8d Windows: empty define for sigemptyset to eliminate warning #2062 3 years ago
nick black 4f88f6f58c
demo: convert %ju+cast with PRIu64 #2062 3 years ago
nick black 8922a7f3f5
demo: replace some %jd+casts with PRId64 #2062 3 years ago
nick black 6105bc5bd5 direct: remove windows ifdefs #2062 3 years ago
nick black 283bf31a41
Windows: set up output handle, demand utf8 CPs #2094 3 years ago
nick black e1226783a7
gpm: set maxMod to 0 on suggestion of Autumn Lamonte #1405 3 years ago
nick black f24a727ac2
rendered mode: adapt to pointer termios #2093 3 years ago
nick black 9eb2a6a23f
direct mode: fix up for pointer-based termios tpreserved #2093 3 years ago
nick black 07ee5a5372 Windows: kill tcsetattr failure path warning #2062 3 years ago
nick black 3f00d07579 set up Windows Terminal very early #2062 3 years ago
nick black 890310abf8
move Windows SetConsoleMode() to before queries #2062 3 years ago
nick black bb053e82e3 typo in comment 3 years ago
nick black f7f7c12b47 on SetConsoleMode() failure, proceed to remainder of terminal interrogation #2062 3 years ago
nick black e49f0eadf1 Windows: use ENABLE_VIRTUAL_TERMINAL_INPUT 3 years ago
nick black e384f4021c
windows: use SetConsoleMode() on input 3 years ago
nick black 9477299972 input: use WaitForMultipleEvents() on Windows 3 years ago
nick black 541aa65719 WSAPoll: properly calculate windows input timeout 3 years ago
nick black 5c3e3017ae ncneofetch: print windows logo, detect windows 3 years ago
nick black 66071a9574 init_banner: don't print framebuffer size on altpath 3 years ago
nick black 5840885fd1 ncls: opendir() instead of openat+fdopendir for Windows #2062 3 years ago
nick black 3c8a313fac ncls: use stat() not fstatat() for Windows #2062 3 years ago
nick black dd916d54eb
new unit test BitmapMoveOffscreenUp #1405 3 years ago
nick black d7d9f7bd92
add BitmapMoveOffscreen unit test #1646 3 years ago
nick black de6520ea91 none.c: properly search for internal.h 3 years ago
nick black 6ee6a68754 poc multiselect/selector: allow mouse_enable failure 3 years ago
nick black fe83d258d6 notcurses-input: allow failure from mouse_enable() 3 years ago
nick black b8c01eacc8 tighten up include paths, libgpm connect #1986 3 years ago
nick black d022a56cb6
lack of smcup is not a reason to abort #2085 3 years ago
nick black e63be1c41f notcurses-demo: stick with braille for fps plot for now 3 years ago
nick black 3348fccfaa finish out pixelplots #1382 3 years ago
nick black 916d3b7321 reparent pixelp to main plot plane #1382 3 years ago
nick black 1571bfee72 pixelplots: paint only through egcidx #1382 3 years ago
nick black 242ec7a7bf pixelplot: set primary plane transparent but on top #1382 3 years ago
nick black c77978d721 pixelplot: put it at the correct x + i #1382 3 years ago
nick black 04a0101e20 pixelplot: add a plane on which we can draw, to restore legends 3 years ago
nick black 01f64c1f2f pixelplots: color according to position #1382 3 years ago
nick black af5a359605 pixelplots: color according to config #1382 3 years ago
nick black c9d907e99a plots: properly size x for pixel case #1382 3 years ago
nick black 91d6e4e490 pixelplot: properly offset writes 3 years ago
nick black de2f13b607 pixelplot: need address entire cell #1382 3 years ago
nick black ebc7e33ce7 pixel: create ncvisual render for plots #1382 3 years ago
nick black 00a4f9db83 pixel plots: draw rgba area #1382 3 years ago
nick black 83b9a7820e pixelplots: alloc up pixel buffer #1382 3 years ago
nick black e36497866f plots: get width/height for pixel plots #1382 3 years ago
nick black f3fafb42ee
rasterize_sprixels_post: use absolute plane location #2086 3 years ago
nick black df01c0f130
rasterize_sprixels: position according to absolute location #2086 3 years ago
nick black 0631817fd0
leave_altscreen: move to logend{y,x} #2084 3 years ago
nick black 515a2f8c69 boom, convert end of notcurses-demo to CLI mode #1834 3 years ago
nick black ed557257d9 add notcurses_{enter,leave}_alternate_screen #2082 3 years ago
nick black 969524aaad kill remaining %zu specs; they offend windows #2007 3 years ago
nick black b978f58985 stop supporting/advertising renderfp #2081 3 years ago
nick black eae4453ea7 fbuf_grow: use proper size for non-mremap platforms #2080 3 years ago
nick black d467367ff5 nctetris: kill off bogus cast 3 years ago
nick black 64d96da269
setup_kitty_bitmaps: hard initialize sixel_maxy_pristine 3 years ago
nick black fe9c555c9d
fill out remaining special keys + modifiers #2067 3 years ago
nick black c7da1023a4
notcurses_mouse_disable: collapse to fbuf_finalize() 3 years ago
nick black 7b13576dce
sigh 3 years ago
nick black 2be4aa2d1a
ncdirect_set_*_rgb: use fbuf_finalize() #2074 3 years ago
nick black 6296a2480f
don't export strndup for C++ code #2073 3 years ago
nick black b635eeca73
uniblock demo: get everything to fit 3 years ago
nick black e97039f42a
drop ESCAPE_CSR #2035 3 years ago
nick black 7539532b0e
ncls, fix relative paths, arghghghgh 3 years ago
nick black 0e9775426e
no exect on gnu hurd 3 years ago
nick black f4bac90a17
ncls: properly separate paths #2063 3 years ago
nick black 096ddf313a
remove unused PNG code 3 years ago
nick black 89729e3315
use PRIu64 in place of %ju #2062 3 years ago
nick black 1c4bde91fb
clean out windows waitpid() until we have HANDLEs #2062 3 years ago
nick black 3508f2a869
GetComputerNameA wants LPDWORD which is pointer to DWORD 3 years ago
nick black d49dd8dbbb
undef KEY_EVENT before including ncurses.h #2062 3 years ago
nick black 91dfb487ad remove support for the iTerm2 graphics protocol #2060 3 years ago
nick black 0cd42fdde2
windows wants LPDWORD for GetComputerNameA() 3 years ago
nick black 81370c5f33
handle alt for special inputs #2058 3 years ago
nick black b99488eb13
interpret shift/ctrl for special inputs #2058 3 years ago
nick black 53b0174322
notcurses-info: scrolling details
don't emit a hard newline following the emoji line,
closing #2021. properly account for distance to logo,
closing #2065.
3 years ago
nick black 0a441eaf26
drop obsolete FIXME 3 years ago
nick black 0b61b3cd47
sheesh 3 years ago
nick black 842613cf18
direct mode: support pixel_draw_late 3 years ago
nick black a4b36316ef
you're killin' me, windows 3 years ago
nick black 437c1de952
input: handle terminfo's kcbt (back tab) 3 years ago
nick black eae2295a5b
notcurses-info: require at least 80 columns 3 years ago
nick black 3d829846cc
admit pixel_draw_late for Bitmaps tests 3 years ago
nick black ac78ebbc75 add a late bitmap pass for fbcon mmap #1997 #2045 3 years ago
nick black afffeeaebf
need WinCon.h for GetConsoleScreenBufferInfo() 3 years ago
nick black 63790bc41c
try to get true geometry on windows 3 years ago
nick black a6575ebfd7 only define strndup as noexcept on linux 3 years ago
nick black 3d780e14a3
windows: use default geometry if we can't look it up #2020 3 years ago
nick black 0c0a8157e6
windows: don't try to read query response #2020 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 2bd3fe5f92
bold up ncneofetch infoplane 3 years ago
nick black 7ebd471471
raster: use terminfo indn to scroll multiple lines 3 years ago
nick black b2480b36fe
notcurses-info: add bce to capability line 3 years ago
nick black f131c005f1
view demo: zero out static struct marsh #2047 3 years ago
nick black 43f2504259
ncneofetch: always center paletteplane 3 years ago
nick black 78dcdd4faf
handle bce when scrolling
When scrolling in a new line, if the bce property
has been advertised, we need to ensure the
background has been reset to the default, lest it
be scrolled in. Closes #2054.
3 years ago
nick black 6d4e58202f
fix windows build, ugh 3 years ago
nick black 4f86f1b0fd
1K stars! 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 47fa86f90d ncneofetch: move to rendered mode for visual #2030 3 years ago
nick black fd8e954a56 ncneofetch: drop direct.h header #2030 3 years ago
nick black 636101578c ncneofetch: bring neologo_present() into csi mode 3 years ago
nick black 367d7b79da ncneofetch: begin switch to cli mode #2030 3 years ago
nick black 3352bd2789
ncneofetch: we'll want to get the real macOS version 3 years ago
nick black 1681521c57
move KITTYQUERY to IDQUERIES so as not to bleed through linux virtual console #2050 3 years ago
nick black 7108dc36c0
ncplane_set_*_palindex(): just use ncchannels*() #2049 3 years ago
nick black 6967723e53 fbconscroll PoC 3 years ago
nick black 94b7c52ac8 fbcon_scroll: actually work 3 years ago
nick black 5992effd38 reprogram_console_font: take entire tinfo 3 years ago
nick black d920ca5636 linux console: reprogram font only after grabbing the framebuffer #2046 3 years ago
nick black 1ad7f70fac
Merge branch 'master' of github.com:dankamongmen/notcurses 3 years ago
nick black 21952acd29
fbcon_draw: properly guard against lower boundary #2032 3 years ago
nick black a23e91e258
ncdirect_dump_plane: pass true y to sprite_draw() #2043 3 years ago
nick black 9a6389661e
kmscon cursor report uses 0-indexing, account in ncdirect_cursor_yx() #2044 3 years ago
nick black 7ff391939b
notcurses-info: don't print newlines if fewer than 81 columns 3 years ago
nick black f0b94273e3
notcurses-info: fill out to the right 3 years ago
nick black be3704621c
notcurses-tester: work in as few as 50 columns #2042 3 years ago
nick black c5b0ba4dd0
fbuf_{flush,finalize}(): don't use unreliable stdio 3 years ago
nick black 3cb54dec83
add scroll_lastframe() #2036 3 years ago
nick black 1b8e61c1f4
control_read(): check for EBUSY/EWOULDBLOCK 3 years ago
Christian Parpart fd340d9e47 Properly recover from EINTR/EAGAIN/... in control_read(). 3 years ago
nick black 19f8496221 implement fbuf_flush() 3 years ago
nick black c223367073 fold down into fbuf_finalize() #2038 3 years ago
nick black 13512d02e7
notcurses_stop: collapse into fbuf_finalize() 3 years ago
nick black 5a0630cbc8
notcurses-info: make it a lot less busy 3 years ago
nick black acbfa8dab0
notcurses_core_init: kill bogus reset of rstate cursor #2038 3 years ago
nick black a07a116942
fbcon_scroll: only defined on linux 3 years ago
nick black 51e4f63b25
implement fbcon_scroll #2010 3 years ago
nick black 57b54cda1d
pass ncpile down through to pixel_scroll #2010 3 years ago
nick black cee18f5da7
wire up fbcon_scroll #2010 3 years ago
nick black a85505e2f9
define pixel_scroll(), call it from rendering #2010 3 years ago
nick black db67787628 fix drop_signals() for windows 3 years ago
nick black 34e6abc133 notcurses-tester: yank out std::filesystem 3 years ago
nick black 180b030de5
handle modifiers + special keys #2028 3 years ago
nick black 5e4782d768
input: handle kNXTv and kPRVv #2028 3 years ago
nick black 4904740832
only invoke smkx when attached to a tty 3 years ago
nick black 5bff834407
unify handling of SMKX 3 years ago
nick black 8e5144eeb0
ncpp_build: drop unnecessary getenv(TERM) 3 years ago
nick black 4070245c4f
elide some stats output lines when unpopulated 3 years ago
nick black dda6ef69ca
windows: NOBOLD gets defined in termdesc 3 years ago
nick black 913330c187
move setupterm() following query launch #2023 3 years ago
nick black 7966c56e47
sgr-full PoC: convert to cli mode 3 years ago
nick black 6490099466
move ttyfd into tinfo, unify calls to setupterm #2023 3 years ago
nick black c86d285f5d
ncdirect: s/ctermfd/ttyfd/g #2023 3 years ago
nick black 12858e6f52
unit tests for subplane scrolling #1951 3 years ago
nick black 81bc99efb6
notcurses-info: use white text explicitly 3 years ago
nick black 731b56f299
pump_control_read: tighten checks for DA response #2024 3 years ago
nick black 83e71f3c4d
detect kitty graphics support via query #1998 3 years ago
nick black 4fa785e3d0
windows terminal: add ESCAPE_NOBOLD 3 years ago
nick black 27f1822664
disable alpine edge drone builder for a minute 3 years ago
nick black 862b2504ea
investigating alpine unit test failure... 3 years ago
nick black 0cc8ab0a21 need winsock2.h in util.c 3 years ago
nick black 6897356ef2 move aux.c to util.c 3 years ago
nick black 1973eafe44 demo: run debug info on windows once more 3 years ago
nick black 5cb1275377 init_banner: kill duplicate plus sign 3 years ago
nick black 5103b27d3b whoops, we wanted not so large of an allocation 3 years ago
nick black f5d16d1d8a new functions notcurses_{account,host}name() 3 years ago
nick black 739b6c2dab don't call tcgetattr from windows 3 years ago
nick black bbaa3f4afa get ncls compiling on windows, windows terminal has quads+braille 3 years ago
nick black 250681cf8d dirgb: ignore italics errors 3 years ago
nick black d82e37c961 MAP_HUGETLB can't reliably be used with mremap() =[ 3 years ago
nick black fe1419c805 fix up compilation post-merge 3 years ago
nick black a0007a9a3c add u7/cnorm/civis to windows 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 dd8700bddd bring terminfo back into windows build #2014 3 years ago
nick black a77adfac3d no del_curterm in windows 3 years ago
nick black a9d2214414 don't try to use termios from windows 3 years ago
nick black 8c217dc6bb cull term.h includes everywhere but internal.h 3 years ago
nick black ccfd4f0f2f microsoft terminal escape database #2014 3 years ago
nick black 7a341283d3 shim ncurses A_* constants on windows 3 years ago
nick black 61ce4d98a1 s/MINGW/MINGW64/ 3 years ago
nick black 3b247c37d6 direct: no setupterm() for windows #2009 3 years ago
nick black 69024e6b3a rebase 3 years ago
nick black c2cb9508da centralize ncurses.h include 3 years ago
nick black ecf24256a1 include winsock2.h before windows.h 3 years ago
nick black ffbebe9b8f bsd fbuf implementation #1977 3 years ago
nick black 07b7e0c13f fbuf: implement growth #1977 3 years ago
nick black 98559b1911 kitty: check more return values 3 years ago
nick black 42338f4d5d rebase; handle iterm 3 years ago
nick black c091f95b6d no getuid on windows 3 years ago
nick black 6c552455b3 getlocalhostname() for windows 3 years ago
nick black 9066876ee0 windows: no utsname.h 3 years ago
nick black c5398e09e1 pass TAM down through iterm2 graphics stack #1950 3 years ago
nick black 9779dd9fef windows: don't try and use getpwuid() 3 years ago
nick black 4363089b86 term_esc_rgb: assemble escape directly in fbuf 3 years ago
nick black c141552ace no pipe on windows, either 3 years ago
nick black 39a65572a1 windows: no poll2 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 8f12f1df86 restrict smask to ppoll() environment 3 years ago
nick black e60103766a define block_on_input() on windows 3 years ago
nick black 63df228336 toss WSAPoll() into the mix 3 years ago
nick black da87386957 notcurses-info: guard linux_fb_fd 3 years ago
nick black 837b5772fc guard linux fbcon check 3 years ago
nick black 85c4e5b788 move linux fbcon_draw() to linux-only section 3 years ago
nick black b0a4cd622f guard linux identification in linux tags 3 years ago
nick black e9bfb39722 linux fbcon_rebuild: null out for non-linux 3 years ago
nick black c4a2fcd89b kitty: break up fbuf_printf() 3 years ago
nick black 0e2a8c09be adapt merged bitmap material to fbuf 3 years ago
nick black 32e2e52d30 restore missing functions on windows 3 years ago
nick black 43c5ec01a5 clean up some size_t warnings on windows 3 years ago
nick black ebb61e4a82 clean up some size_t warnings on windows 3 years ago
nick black a4758c5413 clean up signals code in windows 3 years ago
nick black 1b1411cae6 restrict sigaction()s to windows 3 years ago
nick black 7970846c10 fix up direct mode style routines for fbuf #1977 3 years ago
nick black 4d4a4eb0d0 add fbuf_finalize(), use it throughout direct.c 3 years ago
nick black de6c0bf5eb ncdirect_dump_plane: we don't want a small fbuf here 3 years ago
nick black 6154fbcb56 windows: shim sigset_t 3 years ago
nick black df429410f1 windows: MEM_RESERVE, not MAP_RESERVE 3 years ago
nick black f86daff3cc merrrge 3 years ago
nick black 07e50e27e9 is that your ass, or did your mama have reindeer? #1977 3 years ago
nick black 19797b3859 everybody's movin', everybody's groovin', baby #1977 3 years ago
nick black 625564b4d9 initial fbuf implementation #1977 3 years ago
nick black ee2fcb4039 need TERMINFO_INCLUDE_DIRS for notcurses-demo on mac 3 years ago
nick black 4ed0e09e26
demo: move to fbuf for HUD, making it portable 3 years ago
nick black 3a7306e1d2
direct: need stdio.h for readline 3 years ago
nick black 305e8fceea
move call to termname() into interrogate_terminfo() #2023 3 years ago
nick black a346a5bf64
add new functions notcurses_{host,account}name() 3 years ago
nick black 32ed5a57b0
only move stdplane cursor on init when NCOPTION_PRESERVE_CURSOR 3 years ago
nick black aa722b78e6
convert some wchar_t to uint32_t in whiteout/reel 3 years ago
nick black 24d7d6d995
start merging in the fauxmemstream branch #1977 3 years ago
nick black cac96c1a61
get central 2 cells in highcontrast demo 3 years ago
nick black 57ebf73e72
always obliterate query spillage #2019 3 years ago
nick black c7738c7d25
obliterate any query spillage w00t #2019 3 years ago
nick black d25496220e
kitty: update some comments #1998 3 years ago
nick black 22cc2b1906
uniblock: always ensure there's enough space for the pbar #2018 3 years ago
nick black c3531b22bf intro: always fit orca to available size #2015 3 years ago
nick black cdb884a787 don't test unicode 13 on apple 3 years ago
nick black 45dfb781c6
loglevel check: explicit against NCLOGLEVEL_SILENT rather than 0 3 years ago
nick black b0eed357cf
terminology: enable quadrants 3 years ago