nick black
3d780e14a3
windows: use default geometry if we can't look it up #2020
2021-08-13 16:56:12 -04:00
nick black
0c0a8157e6
windows: don't try to read query response #2020
2021-08-13 16:53:29 -04:00
nick black
f5dc483410
macOS doesn't like noexcept on strndup sigh
2021-08-13 15:26:06 -04:00
nick black
cbf2c51ce4
mark strndup as noexcept
2021-08-13 15:18:18 -04:00
nick black
7c9163d5a1
GetExitCodeProcess: kill compiler error
2021-08-13 15:11:38 -04:00
nick black
54c8189ed2
fix msys2 build for real
2021-08-13 15:08:10 -04:00
nick black
2bd3fe5f92
bold up ncneofetch infoplane
2021-08-13 14:16:16 -04:00
nick black
c33ce4f9dd
rewrite NCCHANNELS_INITIALIZER in terms of NCCHANNEL_INITIALIZER
2021-08-13 14:14:33 -04:00
nick black
e35c49889d
ncchannel: make some unsigneds explicit uint32_ts
2021-08-13 03:54:06 -04:00
nick black
7ebd471471
raster: use terminfo indn to scroll multiple lines
2021-08-13 02:53:56 -04:00
nick black
b2480b36fe
notcurses-info: add bce to capability line
2021-08-13 02:35:17 -04:00
nick black
f131c005f1
view demo: zero out static struct marsh #2047
2021-08-13 02:27:54 -04:00
nick black
43f2504259
ncneofetch: always center paletteplane
2021-08-12 23:51:11 -04:00
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 .
2021-08-12 22:56:36 -04:00
nick black
6d4e58202f
fix windows build, ugh
2021-08-12 19:24:01 -04:00
nick black
4f86f1b0fd
1K stars!
2021-08-12 19:14:57 -04:00
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
2021-08-12 18:37:53 -04:00
nick black
47fa86f90d
ncneofetch: move to rendered mode for visual #2030
2021-08-12 18:37:53 -04:00
nick black
fd8e954a56
ncneofetch: drop direct.h header #2030
2021-08-12 18:37:53 -04:00
nick black
636101578c
ncneofetch: bring neologo_present() into csi mode
2021-08-12 18:37:53 -04:00
nick black
367d7b79da
ncneofetch: begin switch to cli mode #2030
2021-08-12 18:37:53 -04:00
nick black
3352bd2789
ncneofetch: we'll want to get the real macOS version
2021-08-12 02:43:51 -04:00
nick black
1681521c57
move KITTYQUERY to IDQUERIES so as not to bleed through linux virtual console #2050
2021-08-12 01:20:52 -04:00
nick black
7108dc36c0
ncplane_set_*_palindex(): just use ncchannels*() #2049
2021-08-12 01:08:21 -04:00
nick black
6967723e53
fbconscroll PoC
2021-08-11 14:47:39 -04:00
nick black
94b7c52ac8
fbcon_scroll: actually work
2021-08-11 14:47:39 -04:00
nick black
5992effd38
reprogram_console_font: take entire tinfo
2021-08-11 14:47:39 -04:00
nick black
d920ca5636
linux console: reprogram font only after grabbing the framebuffer #2046
2021-08-11 14:47:39 -04:00
nick black
1ad7f70fac
Merge branch 'master' of github.com:dankamongmen/notcurses
2021-08-10 20:41:51 -04:00
nick black
21952acd29
fbcon_draw: properly guard against lower boundary #2032
2021-08-10 20:22:56 -04:00
nick black
a23e91e258
ncdirect_dump_plane: pass true y to sprite_draw() #2043
2021-08-10 20:21:10 -04:00
nick black
9a6389661e
kmscon cursor report uses 0-indexing, account in ncdirect_cursor_yx() #2044
2021-08-10 17:16:34 -04:00
nick black
7ff391939b
notcurses-info: don't print newlines if fewer than 81 columns
2021-08-09 23:43:41 -04:00
nick black
f0b94273e3
notcurses-info: fill out to the right
2021-08-09 23:21:04 -04:00
nick black
be3704621c
notcurses-tester: work in as few as 50 columns #2042
2021-08-09 23:10:02 -04:00
nick black
c5b0ba4dd0
fbuf_{flush,finalize}(): don't use unreliable stdio
2021-08-09 22:35:15 -04:00
nick black
3cb54dec83
add scroll_lastframe() #2036
2021-08-09 21:42:14 -04:00
nick black
1b8e61c1f4
control_read(): check for EBUSY/EWOULDBLOCK
2021-08-09 21:14:10 -04:00
Christian Parpart
fd340d9e47
Properly recover from EINTR/EAGAIN/... in control_read().
2021-08-09 21:13:03 -04:00
nick black
19f8496221
implement fbuf_flush()
2021-08-09 18:13:27 -05:00
nick black
c223367073
fold down into fbuf_finalize() #2038
2021-08-09 18:13:03 -05:00
nick black
13512d02e7
notcurses_stop: collapse into fbuf_finalize()
2021-08-09 18:23:29 -04:00
nick black
5a0630cbc8
notcurses-info: make it a lot less busy
2021-08-09 18:20:09 -04:00
nick black
acbfa8dab0
notcurses_core_init: kill bogus reset of rstate cursor #2038
2021-08-09 18:00:36 -04:00
nick black
02c29fb83e
remove link to obsolete ppa
2021-08-08 19:57:46 -04:00
nick black
a07a116942
fbcon_scroll: only defined on linux
2021-08-08 18:22:52 -04:00
nick black
51e4f63b25
implement fbcon_scroll #2010
2021-08-08 18:12:59 -04:00
nick black
57b54cda1d
pass ncpile down through to pixel_scroll #2010
2021-08-08 05:57:27 -04:00
nick black
cee18f5da7
wire up fbcon_scroll #2010
2021-08-08 05:47:54 -04:00
nick black
a85505e2f9
define pixel_scroll(), call it from rendering #2010
2021-08-08 05:42:38 -04:00