Commit Graph

6964 Commits

Author SHA1 Message Date
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
nick black
0a959617c6
detect MinTTY with XTVERSION #2115 2021-08-28 19:22:22 -04:00
nick black
eaa67c1974 throw a diagnostic before blocking_write() 2021-08-28 19:18:52 -04:00
nick black
a5dc162a29
send cell geometry query in initial handshake, use result #2098 2021-08-28 18:09:25 -04:00
nick black
84b72e1e6b
lookup_blitset: handle exclusive plotter blitters #2113 2021-08-28 03:00:49 -04:00
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.
2021-08-28 02:59:30 -04:00
nick black
14533c4e73
linux console: no halfblocks unless we bring 'em #2109 2021-08-28 02:43:13 -04:00
nick black
ff12a1f75b
distinguish between halfblock and quadrant capabilities #2109 2021-08-28 02:39:25 -04:00
nick black
c2616c6cbb
Unit tests for bitmap wandering offscreen to the left and right #1646 2021-08-28 02:11:08 -04:00
nick black
7ad34fc282
sixel: knock out memory leak when replacing annihilated sprixcells #2104 2021-08-28 01:57:20 -04:00
nick black
df9663c28a
[rust] restore renderfp 2021-08-27 16:56:07 -04:00
nick black
ab9b15b29d CMake: add BEFORE to more target_include_directories() 2021-08-27 13:34:33 -05:00
nick black
0de89b893a
home page: move things around a little 2021-08-27 14:17:36 -04:00
nick black
fad79035e7
gpm: stash connect fd 2021-08-26 18:31:16 -04:00
nick black
bdc593a8ff
fbcon: properly use fbuf 2021-08-26 18:31:16 -04:00
nick black
b13ecb31f9
notcurses-info: show whether we're using gpm 2021-08-26 18:31:16 -04:00
nick black
919a549367
libgpm: keep the fd around #1405 2021-08-26 18:31:16 -04:00
joseLuís
bab123913a [rust] update function-summary & pending changes 2021-08-26 16:49:38 +02:00
nick black
28bc8411b5
sixel: free sixelmap on recycle #2104 2021-08-26 08:29:04 -04:00
nick black
06351d5a39
windows: s/65001/CP_UTF8 2021-08-26 06:05:03 -04:00
nick black
652b617ec7
Windows: handle hardcoded special key sequences #2097 2021-08-26 06:00:43 -04:00
nick black
e0cef88494
macos: satisfy all need for clock_nanosleep() 2021-08-26 05:19:25 -04:00
nick black
36d7b1ce4b
notcurses-demo: kill invalid cast in summary table 2021-08-26 05:12:23 -04:00