Commit Graph

6686 Commits

Author SHA1 Message Date
nick black
842613cf18
direct mode: support pixel_draw_late 2021-08-14 02:54:23 -04:00
nick black
a4b36316ef
you're killin' me, windows 2021-08-14 02:38:40 -04:00
nick black
437c1de952
input: handle terminfo's kcbt (back tab) 2021-08-14 02:35:21 -04:00
nick black
eae2295a5b
notcurses-info: require at least 80 columns 2021-08-14 00:12:34 -04:00
nick black
3d829846cc
admit pixel_draw_late for Bitmaps tests 2021-08-13 22:41:27 -04:00
nick black
ac78ebbc75 add a late bitmap pass for fbcon mmap #1997 #2045 2021-08-13 20:52:25 -04:00
nick black
afffeeaebf
need WinCon.h for GetConsoleScreenBufferInfo() 2021-08-13 20:52:09 -04:00
nick black
63790bc41c
try to get true geometry on windows 2021-08-13 17:52:27 -04:00
nick black
a6575ebfd7 only define strndup as noexcept on linux 2021-08-13 18:06:55 -03:00
nick black
8b1521abb9 Merge branch 'master' of https://github.com/dankamongmen/notcurses 2021-08-13 16:56:24 -04:00
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
dfb19abefb Merge branch 'master' of https://github.com/dankamongmen/notcurses 2021-08-13 15:26:12 -04:00
nick black
f5dc483410
macOS doesn't like noexcept on strndup sigh 2021-08-13 15:26:06 -04:00
nick black
264d8c468b Merge branch 'master' of https://github.com/dankamongmen/notcurses 2021-08-13 15:19:01 -04:00
nick black
aece3a8d93 Merge branch 'master' of https://github.com/dankamongmen/notcurses 2021-08-13 19:12:11 -04:00
nick black
e06226deee fix msys2 build for real 2021-08-13 19:06:35 -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