Commit Graph

6736 Commits

Author SHA1 Message Date
nick black
2e1ccdce15
interrogate_terminfo: avoid double-free on error path 2021-09-03 05:23:34 -04:00
nick black
42d1722ec7
reel: protect against NULL bottom plane 2021-09-03 05:22:27 -04:00
nick black
d03051d154
notcurses_core_init: kill memory leak on error path 2021-09-03 05:22:27 -04:00
nick black
467fed4a3a
add attribute(nonnull) to some declarations 2021-09-03 05:22:27 -04:00
nick black
b47af0247b
kill naming in README 2021-09-02 22:57:19 -04:00
nick black
9acf84e917
README: combine wrapper lines 2021-09-02 22:56:12 -04:00
nick black
429485551a [ncdirect] postition cursor after blitting image #2059 2021-09-02 20:10:23 -04:00
nick black
6ba5a98a7c ncdirect_dump_plane: manually scroll before emitting plane #2059 2021-09-02 20:10:23 -04:00
nick black
ef45189082
OTHERS: kill duplicate jexer entry 2021-09-02 19:27:48 -04:00
nick black
823e79416b
[input] simplify startup automaton, unpop csi inputs 2021-09-02 17:55:55 -04:00
nick black
3a93d0b52d
workflow: macOS syntax for rust 2021-09-02 16:58:15 -04:00
nick black
c8a3c2b445
reenable rust on macOS #2123 2021-09-02 16:51:20 -04:00
nick black
582e7b24c5
complete initial libgpm support #1405 2021-09-01 20:03:42 -04:00
nick black
1463049d32
add ncinput_shovel for GPM #1405 2021-09-01 19:40:51 -04:00
nick black
e245fa0fb2
block_on_input: mintty ought fall through to poll 2021-09-01 19:02:25 -04:00
nick black
009530c0cf properly read cursor report from infd #2130 2021-09-01 03:03:37 -04:00
nick black
ccd2068ee3 calculate pixel-cell geometry from responses 2021-09-01 02:24:34 -04:00
nick black
fcd845c99a
[windows] kill compiler warning 2021-08-31 22:17:10 -04:00
nick black
e6ce5196d3
v2.3.18 2021-08-31 20:06:55 -04:00
nick black
71f491ad23
sixel_scrub: don't persist sixel override across loop #2106 2021-08-31 19:46:56 -04:00
nick black
0ee5ba4ffe
only use tpreserved when it's not NULL #2132 2021-08-31 15:51:45 -04:00
nick black
0fd2fe7ce1
restore terminal settings on interrogate_terminfo() failure #2132 2021-08-31 15:49:56 -04:00
nick black
556c448ee6
clean_sprixels: drop unnecessary cursor move 2021-08-31 15:00:55 -04:00
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.
2021-08-30 22:00:04 -04:00
nick black
ae1121402d
ncneofetch: accept -v 2021-08-30 19:54:52 -04:00
joseLuís
ff247c362d [rust] reenable socket bindings #2123 2021-08-30 09:57:14 +02:00
nick black
1b3c580a23 gpm: only use DRAG, DOWN, and UP, not MOVE #1405 2021-08-30 00:00:44 -04:00
nick black
9df967289f decode GPM events 2021-08-30 00:00:44 -04:00
nick black
d7c74b8fda multiselect PoC: NCLOGLEVEL_ERROR 2021-08-30 00:00:44 -04:00
nick black
b6844ca214 notcurss-input: NCLOGLEVEL_ERROR 2021-08-30 00:00:44 -04:00
nick black
cd7b4c021d gpm: add version to banner, launch thread #1405 2021-08-30 00:00:44 -04:00
nick black
65e5b1d4bf
windows workflow syntax 2021-08-29 21:34:32 -04:00
nick black
88ed5a48ab [linux] don't close fb fd before font change #2108 2021-08-29 21:10:14 -04:00
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.
2021-08-29 21:10:14 -04:00
nick black
6a6b9ad3b8 [linux] move fbdup code into linux.c #2108 2021-08-29 21:10:14 -04:00
nick black
b8e9b235ea [linux] add copy_and_close_linux_fb #2108 2021-08-29 21:10:14 -04:00
nick black
b99c71c0bc
windows: don't download rust just yet 2021-08-29 21:09:28 -04:00
nick black
f57cfce498
macos workflow: correct pkgconfig path 2021-08-29 21:07:48 -04:00
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.
2021-08-29 18:47:22 -04:00
nick black
38495fd00b
[linux] track halfblocks distinctly from quads wrt font #2121 2021-08-29 18:37:56 -04:00
nick black
eaaf23b245
github(ubuntu): enable rust tests once more #2111 2021-08-29 18:14:58 -04:00
nick black
51748f2d4e
drone: reenable rust tests #2111 2021-08-29 15:05:18 -04:00
joseLuís
d082755f2a [rust] ignore notcurses_debug unit test #2111 2021-08-29 11:24:22 +02:00
nick black
e49891100a mintty has bce 2021-08-29 00:55:28 -04:00
nick black
333c614120
ncneofetch: drop ending newline 2021-08-28 22:35:47 -04:00
nick black
8802bf115e Windows Terminal lacks smulx, but MinTTY has it 2021-08-28 20:12:30 -04:00
nick black
d7d18dcb64 Windows: GetUserNameExA(NameSamCompatible), correct test 2021-08-28 20:08:42 -04:00
nick black
83744f17bb Windows: on cygwin/msys2, use regular cursor lookup #2098 2021-08-28 19:37:48 -04:00
nick black
8097b937c0 Windows: introduce tty_check() wrapper for isatty() #2098 2021-08-28 19:37:48 -04:00
nick black
2732620821
stop_minimal: use TCSAFLUSH to stop responses from emerging 2021-08-28 19:29:42 -04:00