Commit Graph

6608 Commits

Author SHA1 Message Date
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
nick black
b8c1e9a3a9
really fix up windows workflow syntax =\ 2021-08-08 04:28:38 -04:00
nick black
e3fcd27843
fix workflow syntax urk 2021-08-08 04:26:35 -04:00
nick black
90e2920db9
windows: don't install rust just yet 2021-08-08 04:19:16 -04:00
nick black
3cd0b22026
windows: pull python/rust for the moment 2021-08-08 04:18:49 -04:00
nick black
a523973125
run all ctests in serial 2021-08-08 04:16:21 -04:00
nick black
db67787628 fix drop_signals() for windows 2021-08-08 04:07:20 -04:00
nick black
34e6abc133 notcurses-tester: yank out std::filesystem 2021-08-08 03:53:42 -04:00
nick black
180b030de5
handle modifiers + special keys #2028 2021-08-08 01:31:00 -04:00
nick black
5e4782d768
input: handle kNXTv and kPRVv #2028 2021-08-08 01:16:00 -04:00
nick black
4904740832
only invoke smkx when attached to a tty 2021-08-08 00:21:28 -04:00
nick black
5bff834407
unify handling of SMKX 2021-08-08 00:17:12 -04:00
nick black
8e5144eeb0
ncpp_build: drop unnecessary getenv(TERM) 2021-08-08 00:06:54 -04:00
nick black
39face9677
add sgr-direct to ctest suite 2021-08-07 23:57:48 -04:00
nick black
4070245c4f
elide some stats output lines when unpopulated 2021-08-07 23:36:37 -04:00