Commit Graph

4701 Commits (f096064648d86f7ce5c67c2587fd0612fd2caafa)

Author SHA1 Message Date
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
nick black c573f68507
stop printing the color warning; it's probably causing more harm than good by now 3 years ago
nick black 9536ecd8c8
notcurses-info: add man in suit levitating, woman scientist 3 years ago
nick black 147b20c904
ncwidth: correct some calculations 3 years ago
nick black bad0f9f0b9
erp 3 years ago
nick black 6f0830c29a
force zero-width-joins #2016 3 years ago
nick black cb74709cb0
notcurses-info: add some more zwj emoji 3 years ago
nick black b053f4b941
admit ASCII as synonym for ANSI_X3.4-1968 3 years ago
nick black 487b9acf90 name Terminal.app, slog on with failed emoji in notcurses-info #1945 3 years ago
nick black 297d276dca add TERMINAL_APPLE from fauxmemstream branch 3 years ago
nick black 46a63c5eed
kitty: kill memory leak in self-referential animation #2012 3 years ago
nick black 0af8f9d116
iterm: kill double-free on error #2012 3 years ago
nick black d2071f14bf
interp PoC: fix use-of-NULL + memory leak 3 years ago
nick black a69753dac4 demacroize ncplot_destroy() #1976 3 years ago
nick black 6f55338983 demacroize set_sample_##T #1976 3 years ago
nick black d8608689f4 unmacroize update_domain_T #1976 3 years ago
nick black 67812559d5 unmacroize update_sample_*plot() #1976 3 years ago
nick black ba830418c7 plots: extract common struct #1976 3 years ago
nick black 89125802c6 notcurses-info: update man page with more text 3 years ago
nick black 7c09695af4 notcurses-info: more emoji 3 years ago
nick black 313885f9c5 notcurses-info: let's show some emoji 3 years ago
nick black 065f60ac5b
info: finish out all lines in capabilities section 3 years ago
nick black ebd55c4d9f
do an early match for Terminal.App and send minimal queries #1945 3 years ago
nick black 9c3f6b826b
notcurses-info: use NCVISUAL_OPTION_NODEGRADE #1945 3 years ago
nick black ddc742d4e6
uniblocks: note to self 3 years ago
nick black 9645ae77e3
don't call all compilers gcc 3 years ago
nick black f303573f29
remove use of std::filesystem in ncls to build on Mojave 3 years ago
nick black ef49288db1
ncls: formatting 3 years ago
nick black 42049dc95e
reorder demos so whiteout doesn't disrupt uniblock 3 years ago
nick black 3875397367
ncplane_put: obliterate the leftmost cell of the multipoint victim #2003 3 years ago
nick black 60e13fb2d2
fission: handle extrawide characters on input #2002 3 years ago
nick black 6ad09dd30c
add unit test for emitting NUL cell #2002 3 years ago
nick black 9df9806781
send a CSI14t, process response #1891 3 years ago
nick black aeadc7e499
don't allow 0 in ioctl to clear earlier CSI14t response #2000 3 years ago
nick black 56636ca57c
interrogate_terminfo: close memory leak on error path 3 years ago
nick black 74dba98c68
ncls: use NCSCALE_SCALE_HIRES by default even with NCBLIT_PIXEL 3 years ago
nick black d84976d187
enable KITTY_SELFREF for 0.22.1+ (upstream bugfix) #1990 3 years ago
nick black ddd0533b03
NEWS: prep for 2.3.13 3 years ago
nick black 61990c47e1
fbcon: don't try to manipulate auxvecs at cell fringes #1996 3 years ago
nick black ac7902a940
sixel_scrub: be a bit more cautious about our jiggery-pokery 3 years ago
nick black c482d89dba
fbcon: use sixel_scrub 3 years ago
nick black 4f39868011
ffmpeg_decode: plug subtitle memory leak present since the beginning 3 years ago
nick black 6162ba3943 restore compatibility ncvisual_subtitle() 3 years ago
nick black 3d1d3794cd ncplayer: kill off handle_subtitle 3 years ago
nick black 45bac6bb69 get text subtitles working once more #1311 3 years ago
nick black b5ed6b1b92 drop diagnostic 3 years ago
nick black 7ab6b6b96d ncplayer: destroy subtitle window on all paths #1311 3 years ago
nick black 74860fbac3 set up type-1 subtitles better #1311 3 years ago
nick black 469eaebd03 [ffmpeg] decode type-1 bitmap subtitles 3 years ago
nick black 6288f5765f pad_for_image: don't allow a short count 3 years ago
nick black b0b5e49383 ncvisual_from_palidex 3 years ago
nick black 1448960cd5 start handling type-1 DVB subtitles #1311 3 years ago
nick black 272607a07c
notcurses_core_init: flush following sprite_clear_all() 3 years ago
nick black 24ccb66a20
kitty 0.22.0 introduces self-referential composition, not 0.21.3 3 years ago
nick black 81879194d2
scroll: go to the bottom before scrolling #1994 3 years ago
nick black 4561ed6a69 notcurses-info: use wviz throughout for broken unicode implementations 3 years ago
nick black 023dd01740
notcurses-info: improve appearance on non-black backgrounds 3 years ago
nick black 6d74f65f22
always track logend{y,x} #1984
even if we're not using PRESERVE_CURSOR, we still want
to place the cursor following the end of our output
when we close the context. always track it. this results
in proper placement of the closing banner following e.g.
notcurses-demo -k and rgbbg.
3 years ago
nick black 8cfdefda4c
rgbbg: only need to move once per line 3 years ago
nick black 780a4a9101
intro: propagate out display error
pressing 'q' to abort in the 'intro' demo was resulting
in a message of FAILED rather than ABORTED. propogate out
the error as returned from orcaride() properly to reflect
the reason for the early exit. it now shows ABORTED.
3 years ago
nick black 3f0a3e2f35
handle_getc: preserve csi for mouse lookup #1991 3 years ago
nick black f69a0eea58
notcurses-info: line up logo/url with right 3 years ago
nick black 38da41d26c
notcurses-info: tidy up a bit, block things off 3 years ago
nick black ee6de771e4
handle arbitary target glyph widths in ncplane_put #1873 3 years ago
nick black 7b5f4175eb
add nccell_cols(), deprecate nccell_width() 3 years ago
nick black 481a2d0366
kitty selfrec: stash sprixcell status into auxvec for rematerialization #1989 3 years ago
nick black d3fa19e6d6 only use new kitty protocol with 0.21.3 #1900 3 years ago
nick black 0c21404564 finish selfref #1900 3 years ago
nick black c71580d6d6 working kitty_wipe_selfref+kitty_rebuild_selfref #1900 3 years ago
nick black b7d9899149 kitty: restore kitty_wipe_animation 3 years ago
nick black 8e6fa10f24 kitty: don't preserve RGBA data for new selfref animation #1900 3 years ago
nick black e8cdff6cf9 kitty: reference/produce frames properly with a=c #1900 3 years ago
nick black 1f29036fb5 implement reflective kitty animation #1900 3 years ago
nick black e399687d7d kitty: tripartite blit implementation #1900 3 years ago
nick black 57f962399d statepixel: use black foreground so we can read errors 3 years ago
nick black 0ba45c44da notcurses-info: abuse internals less egregiously 3 years ago
nick black e0a8e9abc5
notcurses-info: more, always more 3 years ago
nick black 99843190c0
notcurses-info: draw a bit more 3 years ago
nick black 269196c39c
linux fbcon: wipe + restore #1954 3 years ago
nick black 0a6fd661b4 set_rgb: unsigned unless we're clipping 3 years ago
nick black f9e24bbed4
sprixel_free: close mstreamfp if it's open 3 years ago
nick black 8c8d07d5e8 kill some warnings on macos 3 years ago
nick black 4f1ef47b09
remove stray 'u' from plot summary 3 years ago
nick black 1597b25d39
procroller: use notcurses_get() over notcurses_getc() #1686 3 years ago
nick black 0d289958f9
death to sigset_t #1967 3 years ago
nick black 93fe6db376
check for support in ncdirect_on_styles() 3 years ago
nick black ddbc36e872
ncdirect_dump_plane: fix sprite_draw() error check #1980 3 years ago
nick black b67c6b8fb2
ncplayer: pass loglevel through to direct mode #1981 3 years ago
nick black 45986668a1
Linux framebuffer in direct mode (#1959)
In direct mode, we need to call through to `pixel_draw()` rather than just printing it ourselves, given that Linux framebuffer drawing doesn't involve printing (but instead writing to the memory map). Do so.
3 years ago
nick black 4f1de02710
replace random() with rand() for windows goodness 3 years ago
nick black 613d437b87
input: don't error out on all special keys, egads =[ 3 years ago
nick black 2fb9db77e8
fbcon: update auxvecs on reblit 3 years ago
nick black cd635316d9
fbcon_wipe: preserve auxvec 3 years ago
nick black 1113f7dd35
windows: patch out more constants 3 years ago
nick black f28152d95e
ncplayer: eliminate %j conversions 3 years ago
nick black 1e2f3252bd
hark! a vagrant! get windows library linking 3 years ago
nick black e5d77037dc
CMake: link in ws2_32 on windows 3 years ago
nick black 03fbf57f24
fix up windows strndup compilation 3 years ago
nick black a26b28e10f
prefer ansi c rand() to posix random(), doh 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 59cb0b8bfa
plot: use PRIu64 3 years ago
nick black 0d0f30ca93
windows: don't try and use termios 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 7ace56cee6
remove unused png mmap code 3 years ago
nick black b2fb50fc39
png: cut out mmap portions on windows 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 698d1e59f5
replace j conversion with PRI for windows 3 years ago
nick black 917361d87d
windows: fd.c needs internal.h for logerror() 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
nick black dae8e340d2
still more windows garbage 3 years ago
nick black 0ae839c63d
windows craveth not posix signals 3 years ago
nick black 873ee6f227
windows cleanups 3 years ago
nick black ed99ac670e strike most poll.h, use winsock2.h on windows 3 years ago
nick black f79e41294c
notcurses_getc: don't count nonblocking exit as input_error for stats 3 years ago
nick black 8d46a0bd17
capture bytes in linux framebuffer graphics to sprixelbytes stat 3 years ago
nick black b278d16f67
fbcon_wipe: build up auxvec 3 years ago
nick black 6c45990abb kitty: use zlib level 2, not 6 #1695 3 years ago
nick black 729290d81a deflate for animate #1695 3 years ago
nick black 5da51e138c intro: don't tolerate drawing failures 3 years ago
nick black 4fc1561d0f blitterargs: no need to pass cell-pixel geom, it's in sprixel 3 years ago
nick black a5ec720e5b kitty: fold transcolor verdict into auxvec 3 years ago
nick black 383ce5c2b0 xray: always set marsh.dm 3 years ago
nick black 19305aa653 kitty: reuse auxvecs across frames 3 years ago
nick black cc6bdf4b55 kitty: write transcolor pixel alpha as 0
when we're building out the kitty graphic, we check whether
alpha is low, or whether the color matches the transparent
color. in the latter case, we're writing the original alpha
to the auxvec. in rebuild, however, we don't know what the
transcolor was, and thus a pixel that matched it will become
visible. instead, rewrite alpha as 0 on transcolor match, so
that 0 is restored should we rebuild the cell.
3 years ago
nick black fcd62a04ec kitty: on redraw, move between annihilations 3 years ago
nick black 6f8b882b6d
stats_summarize: move input events up, where there's more space 3 years ago
nick black 05fdd0b117
flush before making SUM decision, to get true value 3 years ago
nick black 17d5b4064a
move sixel inversion detection into apply_term_heuristics #1957 3 years ago
Daniel Eklöf 0ec571d80c Foot has an inverted DECSDM since 1.8.2
fcd9897342
3 years ago
nick black 08e0acf92b
recognize Terminology via DA3 of ~~TY 3 years ago
nick black 8c7f047a05
ncmenu: always use NCPLANE_OPTION_FIXED #1958 3 years ago
nick black f9ebbcd80a
demo: create all subplanes with NCPLANE_OPTION_FIXED #1958 3 years ago
nick black 962a7539b4
whiteout: restore original scrolling mode for standard plane 3 years ago
nick black ee9b01e9b6
Konsole now handles TDA #1807 3 years ago
nick black c3d3f8613b work around whiteout problems on mac #1936 3 years ago
nick black f1bdc38538
preserve TAM annihilation across multiframes in fbcon #1954 3 years ago
nick black 145a421d02
fbcon: implement transparency via copy elision 3 years ago
nick black 5fc1540a09
fbcon_scrub: return success to get notcurses-demo working in framebuffer 3 years ago
nick black b590056887
notcurses-info: use NCLOGLEVEL_SILENT without -v 3 years ago
nick black bb7a141a3b
iTerm2: name it, always give it quadrant/rgb 3 years ago
nick black 11787f159c build fbcon routines even off linux #1883 3 years ago
nick black cf5e98c6cd fbcon: properly place bitmaps 3 years ago
nick black d2cf43d087 kill obsolete FIXME 3 years ago
nick black 558a1652cf fbcon_rebuild, necessary 3 years ago
nick black a5b9a2ed42 linux fbcon blitting! 3 years ago
nick black c7dd482474 need fbcon_scrub 3 years ago
nick black 8f8e910eaf adapt framebuffer code to new sprixel api 3 years ago
nick black 3e366ebe0e set up framebuffer graphics 3 years ago
nick black f8463270f1
cleanup for tinfo_debug_bitmaps() 3 years ago
nick black 04c0d37675
scroll child planes only when they intersect #1883 3 years ago
nick black 1f254c47b2
implement child plane scrolling #1883 3 years ago
nick black 8db6e3abaa
notcurses-info: display logo at the end for proper positioning #1883 3 years ago
nick black 3f2147b9e4
set sprixel_scale_height to 1 by default 3 years ago
nick black 382b68f5ab
why weren't we always handling SIGFPE? 3 years ago
nick black 84a61d1476
terminate iTerm2 OSC with ST 3 years ago
nick black bed16a9b7b
when HIGHCONTRAST is atop default, use queried value for bg computation #1947 3 years ago
nick black d8338105b3
notcurses_refresh: correct dimy/dimx #1931 3 years ago
nick black c5bef4a2af
iterm: position cursor before draw 3 years ago
nick black 7ed7827aca
iterm: use sixel_scrub for scrubbing 3 years ago
nick black 757fb5811f
display images with iterm2 protocol (#1946)
Implement the basics of the iTerm2 graphics protocol, requiring PNG construction, zlib compression, and base64 encoding. We're not yet performing wipes nor restores, only display. This is still pretty experimental, but it worked with WezTerm. #1420
3 years ago
nick black 7b4d3b9af3
iTerm2: fix up XTVERSION lexing #1944 3 years ago
nick black 547a30e73f
summarize_stats: protect against 0 renders zerodiv 3 years ago
nick black cd49a63b7b
only use MAP_SHARED_VALIDATE where defined #1941 3 years ago
nick black fadc500568
better guard on demo's summary table for divide by zero 3 years ago
nick black 38f1ea1ebc
update cursor terminal point with PRESERVE_CURSOR 3 years ago
nick black c9ddec9de7
add input_events and input_errors stats #1914 3 years ago
nick black ffbafef645
notcurses_stats: copy only stats, not lock #1914 3 years ago
nick black fe150bff95
pass ncsharedstats down through to input layer #1914 3 years ago
nick black b1b35a56e7
move stats lock into object with stats struct #1914 3 years ago
nick black 7722ea60c6
move lock into ncstats object #1914 3 years ago
nick black e98c59a40d
notcurses-info: drop spurious space following braille 3 years ago
nick black 4398fc223c
implement locate_cursor_simple for redirected input case #1942 3 years ago
MasFlam ff0cffc590 Spice up the tabbed poc 3 years ago
nick black b2cfddc645 atomic on png crc32 lookup 3 years ago
nick black 5a0e2a2ae5 CMake: link zlib into notcurses-core #1821 3 years ago
nick black 4de3101c20 provide png.h 3 years ago
nick black 1dd954d4be deflate that sumbitch 3 years ago
nick black c1e419fd9d CMake: demand Zlib 3 years ago
nick black 60c953b77b png: prep for deflate 3 years ago
nick black 3dbc5645f7 create_png_mmap: accept a file descriptor 3 years ago
nick black a55a37a838 write PNG IDAT and IEND chunks, unit test 3 years ago
nick black 9c92b83387 some PNG work 3 years ago
nick black 277fd3931e start writing up PNGs 3 years ago
nick black 0dfe103f4f define PNG creation interface, assumes mmap() #1821 3 years ago
nick black ef1dfe6254 fix regression in HUD from shift to PRIu64, whoops 3 years ago
nick black 8947a5f5d7
not many neofetch changes recently 3 years ago
nick black af1015b264
kill 'vizdirect' PoC 3 years ago
nick black 99217a7e27
employ XTPUSHCOLORS/XTPOPCOLORS where supported #1296 3 years ago
nick black 95cdfd7524
learn XTPOPCOLORS/XTPUSHCOLORS for xterm+kitty #1296 3 years ago
nick black 2c838e3aa7 info: when printing neoart, use default foreground 3 years ago
nick black 37fb3ab34e
README: clear up wording in FAQ entry 3 years ago
nick black bfd689b1c0 info: dole out symbols line, closes #1929 3 years ago
nick black e04793b6d6 info: dole out box lines #1929 3 years ago
nick black 8566aa8fec info: expand out the legacy symbols rows #1929 3 years ago
nick black d1b1e7fe3a info: do sextants one-by-one #1929 3 years ago
nick black 6f2d392f69 silence a bunch of Wstring-plus-int warnings 3 years ago
nick black 26a381b6e2 notcurses-info: break out sextants #1929 3 years ago
nick black ba19013f6a notcurses-info: overcome unicode deficiencies throughout braille #1929 3 years ago
nick black 19f7726075 notcurses-info: print braille one at a time #1929 3 years ago
nick black a705dfd0ff convert last(?) two remaining PRIu64s 3 years ago
nick black c804148084 Mention @michaelsbradleyjr in HISTORY.md 3 years ago
nick black 3458c440d9 ncneofetch gets a logo on darwin #1925 3 years ago
nick black ab69a1d6d0 animate: truncate unicode 13 for apple #195 3 years ago
nick black a8baa6cb9a poll: handle NULL as -1 on apple #195 3 years ago
nick black 622ae010da fix format specifiers in demo.c #195 3 years ago
nick black baf218fdd4 egcpool, plane: fix unit tests for OS X #1924 3 years ago
nick black 86aa60d55b cell.cpp: fix up tests for OS X #1924 3 years ago
nick black fef33ad2aa wide.cpp: patch up tests for OS X 11.4 3 years ago
nick black 931fa8eb13 get everything building on OSX #195 3 years ago
nick black 5015e39f16 only need TIMER_ABSTIME on apple 3 years ago
nick black 8f41bfd757 inttypes PRIu64 throughout stats.c 3 years ago
nick black f3886df67c osx: ppoll, execvpe, pipe2 workarounds 3 years ago
nick black 33752742d1 byteswap on OS X #195 3 years ago
nick black 15b9b64cad
char32_t is C++, not C -- move to uint32_t 3 years ago
nick black 0d68b62bee
enqueue_cursor_report: set clr->next to NULL 3 years ago
nick black bd002f154f garbage first run at integrated cursor location report #1692 3 years ago
nick black fb75a11a75 render: need scrolls before sprixels 3 years ago
nick black c2763fb6c7 summarize_stats: one newline to stdout, not stderr 3 years ago
nick black fb8b453d61 get look_for_clrs() down on paper #1692 3 years ago
nick black d6ef7ccacd add link to 'Text Rendering Hates You' 3 years ago
nick black 6708780e60 fix up XTSHIFTESCAPE #1061 3 years ago
nick black 2240880718 extract fill_buffer #1692 3 years ago
nick black 73324ce2a4 yank locate_cursor_early() #1692 3 years ago
nick black 85e55de569 recognize Tc unofficial terminfo capability as synonym for RGB 3 years ago
nick black bd451aa087 implement locate_cursor() #1692 3 years ago
nick black e133225092 implement enqueue_cursor_report #1692 3 years ago
nick black 9746a06bde prepare a cursor report queue #1692 3 years ago
nick black 3df88384cd set XTSHIFTESCAPE when enabling mouse #1061 3 years ago
nick black d81164a348 handle_csi: differentiate between csis #1692 3 years ago
nick black dcc58ef713 input: process CSI for cursor report #1692 3 years ago
nick black 75b84329da comment up handle_getc() regarding controls #1692 3 years ago
nick black 7ee9ef397a add logpanic/logfatal, convert some printf()s 3 years ago
nick black 8a3579581a [input] read large chunks at once #1903 3 years ago
nick black cf8b640064 The Gang Genocides Genocide s/_genocide/_destroy_family/g #1907 3 years ago
nick black cea2206ec7
remove two meaningless uses of inline from notcurses.c 3 years ago
Tomek Szczęsny 0baf4ea1b5
Relative cursor move (#1885)
Relative cursor move by @tomek-szczesny
3 years ago
nick black 531f62a5ae
notcurses-demo: remove stray notcurses_refresh() calls 3 years ago
nick black 5a081a014d
kitty: remove horrible a=t positioning hack #1918 #1910 3 years ago
nick black c2d6edc109
notcurses_refresh: always clear screen #1915 3 years ago
nick black 7bdad5237f
get clrscr immediately before refresh #1915 3 years ago
nick black bc4f2a3626
CHANNELS_RGB_ -> NCCHANNELS_ 3 years ago
nick black bfca06264a
fix up indexing for NCBLIT_8x1 plotter #1912 3 years ago
nick black 2441a31766
kill unused variable warnings 3 years ago
nick black 37286aa707 work around strange kitty issue for now #1910 3 years ago
nick black 714b288c8d [kitty] no longer need to update under opaque, huzzah 3 years ago
nick black aada04ba47 flush following goto_location for logend #1906 3 years ago
nick black 8b33353105 [kitty] q=2 can come on earlier chunks 3 years ago
nick black 0c484e4e02 run the logend{yx} state machine in raster #1906 3 years ago
nick black f9c8102e37 notcurses-info: use NCOPTION_NO_CLEAR_BITMAPS 3 years ago
nick black 5725605167 move cursor to logend{yx} post rasterization #1906 3 years ago
nick black af418a221f with PRESERVE_CURSOR, track logical end of output #1906 3 years ago
nick black e767fd0b5f
notcurses-demo: turn mouse support back on 3 years ago
nick black 087fd083af
[brownbag] actually call mouse_{dis/en}able() 3 years ago
nick black 840ed1a3d8
remove all uses of NCSTYLE_STANDOUT 3 years ago
nick black 55f8614391
improve 256-color grey quantization 3 years ago
nick black b96dc6d1bc
recognize greys in 8-color quantization 3 years ago
nick black a7779c5024
cursor_yx_get: loop on 0 input for GNU screen #1902 3 years ago
nick black e2a3af49b5
cursor_yx_get: fprintf -> logerror 3 years ago
nick black 405a1f2808
recognize tmux in XTVERSION #1901 3 years ago
nick black f3504b3bfe
DA2: don't force version interpretation #1901 3 years ago
nick black cefc98f55b
reset errno prior to reading control input #1901 3 years ago
nick black 672a761080
mmap() the linux framebuffer 3 years ago
nick black afad46b006
notcurses-info: admit -v for NCLOGLEVEL_TRACE 3 years ago
nick black 14a50cfa3f
add ncchannels_reverse, use it in ncmenu, add unit test #1878 3 years ago
nick black f0aec109b7
support menus on any plane #1645 3 years ago
nick black e631cac954
s/SPRIXCEL_/SPRIXCELL_/g 3 years ago
nick black b2dd44e06c
[kitty] convert fixed fprintfs to ncfputs 3 years ago
nick black 8b1c324353
[kitty] update summary comment 3 years ago
nick black 8846e3cee2
ncdirect_putegc(), get true width in ncwidth #1899 3 years ago
nick black 4a23acab2d
fission demo: go both up and down #1896 3 years ago
nick black 20603e5012
direct mode: fix for animation kitty 3 years ago
nick black 4d2a896cdd notcurses-info: distinguish animation from regular kitty #1895 3 years ago
nick black 66b8c7f004 [kitty] properly copy source for rebuild #1895 3 years ago
nick black 0aa8b5267c [kitty] fixup non-animated case 3 years ago
nick black 6d6f69a02b rebuild: only free auxvec for non-animation #1895 3 years ago
nick black 811bc9eb65 animated kitty rebuild #1895 3 years ago
nick black 22443d4b3a [kitty] fixups for non-animated case #1895 3 years ago
nick black a0b5a85e25 kitty: animated rebuild no longer crashes 3 years ago
nick black b9b26603ad kitty animation: everything up through rebuild works #1895 3 years ago
nick black af305f56c4 [kitty] clean up auxvecs on error #1895 3 years ago
nick black ebc405b165 [kitty] get most of animation working #1895 3 years ago
nick black d2e0c64a7c add kitty_transanim_auxvec() and kitty_wipe_animation() #1895 3 years ago
nick black 948553a980 extract sprite.h 3 years ago
nick black 4bb85d28c8
use non-interpolative scaling with eagle/luigi 3 years ago
nick black f339855c39
nccell_width: minimum width is 1 #1894 3 years ago
nick black b170ee98e1
you do not get to win https://www.youtube.com/watch?v=ASacQYJWOPI 3 years ago
nick black 6e19e0536e
demo: remove obsolete postinit_checks() 3 years ago
nick black 3c2fe36fc9
[kitty] pass C=1 for move command 3 years ago
nick black 1493045490
notcurses-info: hold off on displaying logo 3 years ago
nick black 5009a25721
stop warning on truecolor but no ccc 3 years ago
nick black d38c15302a
notcurses-info: add sub+superscripts 3 years ago
nick black b41928833f
replace fprintf with ncfputc 3 years ago
nick black e7ac7ab14b [kitty] C=1 needs be emitted with the presentation, not load #1865 3 years ago
nick black afd738a977 direct: write sprixels with posix i/o to work around blocking 3 years ago