nick black
dca02e6aae
[tfman] simplify main loop
2021-12-16 18:34:36 -05:00
nick black
3c17bc78e2
[tfman] structure-based navigation #2457
2021-12-16 18:34:36 -05:00
nick black
b7164f440a
[tfman] draw out structure bar #2457
2021-12-16 18:34:36 -05:00
nick black
6089219902
[tfman] track lines in docnode #2457
2021-12-16 18:34:36 -05:00
nick black
5f6f9ff75e
[tests] cut line length down in textlayout test
2021-12-16 18:34:36 -05:00
nick black
bbd9cb746a
[notcurses-input] s/seperator/separator/
2021-12-16 18:34:36 -05:00
nick black
fc129c70c1
[blit] spelling in diagnostics
2021-12-16 18:34:36 -05:00
nick black
59fd31c050
[tfman] change up control for horizontal structure bar #2457
2021-12-16 18:34:36 -05:00
nick black
973175ce49
[tfman] horizontal structure bar #2457
2021-12-16 18:34:36 -05:00
nick black
1b4a968c8b
[termdesc] disable braille on RXVT
2021-12-16 14:23:34 -05:00
nick black
3164ae3c10
[termdesc] enable quadrants for RXVT
2021-12-16 14:22:48 -05:00
nick black
7ac3ad8b16
[banners] when using zlib, show that version
2021-12-16 14:15:52 -05:00
nick black
e2d9d8ec7e
render: change some ints to unsigned
2021-12-16 13:24:35 -05:00
nick black
03aaa2eb87
[view] keep PIP aligned with right edge #2479
2021-12-16 12:58:36 -05:00
nick black
b983e9b338
[view] use ncplane_resize_placewithin to keep PIP onscreen #2479
2021-12-16 12:45:31 -05:00
nick black
7378b34cf3
notcurses_refresh follows notcurses_rasterize()
...
If we've received a SIGWINCH or a SIGCONT prior to
rasterizing, we want to do a full refresh to sync the
visual area, but do it *after* the primary rasterization.
The latter requires the crender rvec match the geometry
assumed at render time, but notcurses_refresh() can
change that geometry, leading to invalid references into
the rvec at rasterization time. Closes #2471 .
2021-12-16 03:21:24 -05:00
nick black
5ea69031ca
[tfman] fix two problems found by fuzzing #2475
2021-12-16 02:56:37 -05:00
nick black
897d981b93
[demo] clean up datadir to keep asan/valgrind meaningful
2021-12-16 02:56:37 -05:00
nick black
0f69cdbd49
[demo] make directory diagnostic meaningful again
2021-12-16 02:56:37 -05:00
nick black
321617d9b9
[tfman] '-q' argument for no input, mainly intended for fuzzing
2021-12-16 02:56:37 -05:00
nick black
52664e212f
crender: change member order for less padding
...
Our crender struct was being padded up to 48 bytes. Change
the member ordering to get it down to 40 without use of
((packed)) or other alignment-unfriendly methods. Saves
16% of memory devoted to rendering solutions, hopefully
with attendant savings in memory traffic. See #2471 .
2021-12-16 02:47:13 -05:00
nick black
a4df1aaffc
[tfman] only one line between subsection headings and text
2021-12-15 02:27:52 -05:00
nick black
73aea84a75
[tfman] structure browser support multiple moves #2457
2021-12-15 02:20:31 -05:00
nick black
bcf713b5bc
[tfman] move structure browser along with page browser
2021-12-15 02:17:47 -05:00
nick black
aa1a3fc3f5
[tfman] move structure browser along with page browser
2021-12-15 02:13:03 -05:00
nick black
5eb8558775
[tfman.1] document tfman UI thus far
2021-12-15 01:55:47 -05:00
nick black
685a88d2a6
[tfman] move remaining parsing code into parse.c
2021-12-15 01:50:12 -05:00
nick black
7f05f5281d
[tfman] move structure browser along with page #2457
2021-12-15 01:42:48 -05:00
nick black
e49394a702
[output] partial print on right-aligned overflow text #2472
2021-12-15 01:07:08 -05:00
nick black
944184d9b3
[tfman] get everything working on resize
2021-12-14 22:47:19 -05:00
nick black
5a205b8410
[tfman] toggle visibility of structure menu with 's' #2457
2021-12-14 22:24:45 -05:00
nick black
5295d0c938
[tfman] colorize structure based off distance #2457
2021-12-14 18:24:51 -05:00
nick black
6685815c7f
[tfman] proper structure paths #2457
2021-12-14 18:14:42 -05:00
nick black
83976af4b4
[tfman] stylize browser text
2021-12-14 18:02:37 -05:00
nick black
6f803ca2a5
[pocpp] add NCOPTION_DRAIN_INPUT where appropriate
2021-12-14 16:54:03 -06:00
nick black
2d098e6ede
[tfman] build up structure
2021-12-14 16:23:45 -05:00
nick black
78269365b4
ncplane_resize_internal: realloc only when keepleny && !keepy #2426
2021-12-14 01:30:34 -05:00
nick black
7a99d00719
ncplane_resize_internal: release lost cells in the general case #2426
2021-12-14 01:16:05 -05:00
nick black
902fe7ee4b
ncplane_resize_internal: release lost cells on realloc #2426
2021-12-14 00:56:32 -05:00
nick black
61ef2f5ee4
[kitty] use zlib if libdeflate is unavailable #2423
2021-12-14 00:47:48 -05:00
nick black
b3710c0cf1
[read_input_nblock] use standard int format specifiers
2021-12-13 17:02:30 -05:00
KristofferC
a3c37932d6
check __MINGW32__ instead of __MINGW64__
2021-12-13 11:57:55 -05:00
KristofferC
d49a0375b7
use an explicit zero in initializers
...
empty initializers is a GNU extension
2021-12-13 09:44:43 -05:00
KristofferC
186fd9781a
make Lmcons.h lowercase
...
this is the actual name of the file which matters on case-senstivie systems
2021-12-13 09:19:38 -05:00
nick black
8410271591
don't use XTPUSH/POPCOLORS with Kitty <= 0.23.1
...
Up until late in the 0.23.1 postcycle, Kitty's XTPOPCOLORS
implementation was unreliable (it didn't restore palette-
indexed colors visible on the screen). Only use
XTPUSHCOLORS+XTPOPCOLORS on Kitty if our version > 0.23.1,
reprogramming the palette directly until then. Closes #2459 .
2021-12-13 01:03:43 -05:00
nick black
0f5a8855b6
kill compiler warning on unsigned char platforms
2021-12-13 00:30:13 -05:00
nick black
31b328c688
[ncplane_putc_yx] spelling
2021-12-12 15:35:31 -05:00
nick black
cf754a6e02
nctree kill signed comparison with unsigned
2021-12-12 15:34:15 -05:00
nick black
c067527c28
kill compilation warnings on alpine
2021-12-12 15:33:02 -05:00
nick black
b075de5da9
[channels_blend] blend palette-indexed colors #2442
2021-12-12 14:24:05 -05:00