Commit Graph

4701 Commits (f096064648d86f7ce5c67c2587fd0612fd2caafa)

Author SHA1 Message Date
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
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