nick black
7e43077128
ncselector_additem: extend longops/longdesc if necessary #846
2020-08-01 03:49:24 -04:00
nick black
835a62361d
cell_nobackground_p(): load time, 5% perf win =] =] =] #838
2020-07-31 23:55:14 -04:00
nick black
2dcab374c4
mojibake: fix some row overruns #842
2020-07-31 23:05:09 -04:00
nick black
ca6ecf2f35
ncplane_resize(): fix irregular keep areas #842
2020-07-31 23:05:09 -04:00
nick black
fe904cc8da
resize PoC: restore bottom stanza
2020-07-31 23:05:09 -04:00
nick black
886255e941
mojibake: clean up topmost line of display #842
2020-07-31 23:05:09 -04:00
nick black
c1c1238e7e
resize PoC: add some functionality #842
2020-07-31 23:05:09 -04:00
nick black
63556d295f
demo: color HUD light rather than dark
2020-07-30 04:09:50 -04:00
nick black
ac59918682
zoo: mention plots! #835
2020-07-30 03:56:21 -04:00
nick black
9a758b82e2
zoo: speed up the "typing"
2020-07-30 03:50:44 -04:00
nick black
b7b6572bc7
zoo: render informative text on ncreader #835
2020-07-30 03:50:44 -04:00
nick black
5a9e2645a5
zoo: blend reader background
2020-07-30 03:50:44 -04:00
nick black
78a7b4d255
constify ncreader_options->egc
2020-07-30 03:50:44 -04:00
nick black
c8f623a426
zoo: add necessary locking #835
2020-07-30 03:50:44 -04:00
nick black
bea35fb91f
zoo: delay based off mult, add reader thread #835
2020-07-30 03:50:44 -04:00
nick black
86e6b2d89b
cell_load_direct(): simplify conditionals
2020-07-30 01:24:45 -04:00
nick black
620ae34c02
Merge branch 'master' of github.com:dankamongmen/notcurses into master
2020-07-29 08:23:49 -04:00
nick black
1a82273231
selector: handle nonzero defidx with zero maxdisplay #834
2020-07-29 08:23:10 -04:00
nick black
0b55b360ff
mojibake: leave some wiggle room for invalid wcwidth()
2020-07-29 06:38:54 -04:00
nick black
aec5f79369
demo: move HUD down, right above FPS plot
2020-07-29 06:30:51 -04:00
nick black
dde540b1da
zoo demo: render prior to inter-widget pause
2020-07-29 04:34:15 -04:00
nick black
2b4b516260
selector PoC: use CHANNELS_RGB_INITIALIZER()
2020-07-29 04:08:32 -04:00
nick black
d23bf9a393
zoo demo: use CHANNELS_RGB_INITIALIZER() for selector
2020-07-29 04:00:46 -04:00
nick black
47800e57f1
zoo demo: multiselector use CHANNELS_RGB_INIT
2020-07-29 03:56:33 -04:00
nick black
6d6c375265
notcurses-demo: accept --help longform argument
2020-07-29 01:15:50 -04:00
nick black
8f9646c194
zoo: delay + handle input for multiselector #628
2020-07-29 01:15:50 -04:00
nick black
c036f14b07
zoo: pause following selector, handling input #628
2020-07-29 01:15:50 -04:00
nick black
e0cf13999d
zoo: text for multiselect #628
2020-07-29 01:15:50 -04:00
nick black
74d80d76b1
zoo demo: handle inputs
2020-07-29 01:15:50 -04:00
nick black
a5f2160558
zoo demo: background
2020-07-29 01:15:50 -04:00
nick black
c7cd82af55
update zoo demo for no itemcount
2020-07-29 01:15:50 -04:00
nick black
e24d0f9b0a
zoo: add items to selector
2020-07-29 01:15:50 -04:00
nick black
7174a84e94
zoo: add multiselector
2020-07-29 01:15:50 -04:00
nick black
988bb1f2a6
zoo: create selector
2020-07-29 01:15:50 -04:00
nick black
f62277a69b
add zoo demo #628
2020-07-29 01:15:50 -04:00
nick black
ab2710cf7a
selector poc: improve background contrast
2020-07-28 22:46:26 -04:00
nick black
bac02bccd0
selector/multiselect: kill itemcount options field #831
2020-07-28 22:42:49 -04:00
nick black
38a7306ba8
mojibake: work around wcwidth inaccuracies
2020-07-28 00:33:52 -04:00
nick black
e00fd3231a
reset_term_attributes: restore disable mouse
2020-07-28 00:21:58 -04:00
nick black
dab269f506
tetris: ensure continued color changes #825
2020-07-25 23:11:28 -04:00
nick black
46b1e6b2fa
reset_term_attributes(): flush after oc
2020-07-25 21:59:25 -04:00
nick black
480ea76989
reel: kill unnecessary diagnostics
2020-07-25 21:56:52 -04:00
nick black
bf9c3dc8c7
reset term attributes prior to, not following, rmcup #824
2020-07-25 21:55:43 -04:00
nick black
17e8f62eb9
cell_no{fore/back}ground() was never intended for export
2020-07-25 21:53:50 -04:00
nick black
c333c4def5
notcurses-ncreel: suppert +/- for adding/subbing lines
2020-07-25 21:53:21 -04:00
nick black
6354b26d78
notcurses-ncreel: handle +/- for tablets
2020-07-25 20:57:31 -04:00
nick black
17291b8743
implement ncmenu_mouse_selected() #819
2020-07-23 22:33:21 -04:00
nick black
6ea968c522
declare ncmenu_mouse_selected() #819
2020-07-23 22:33:21 -04:00
nick black
8ae8fd2cb0
menu: escape rolls up menu #819
2020-07-23 21:52:49 -04:00
nick black
357cba3843
ncplane_puttext: all unit tests work #815
2020-07-23 21:21:11 -04:00
nick black
243cbd6a92
fix LayoutFillsPlaneNoSpaces problems #815
2020-07-23 21:21:11 -04:00
nick black
1664e64617
add LayoutCrossBoundaryWide unit test #815
2020-07-23 21:21:11 -04:00
nick black
4adde41b05
Get LayoutFillsPlaneNoSpaces test working #815
2020-07-23 21:21:11 -04:00
nick black
f0962fc6b5
utf8_etc_len: flatten wcwidth negative returns
2020-07-23 21:21:11 -04:00
nick black
858d1662eb
clean_reel: clean up unused variables
2020-07-23 21:21:11 -04:00
nick black
015dc544a6
scan-build fix: return ret from notcurses_render_to_file()
2020-07-23 21:21:11 -04:00
nick black
a70cbb894c
get complete widechar ncplane_puttext() working #815
2020-07-23 21:21:11 -04:00
nick black
380ebc7e6e
add wide ncplane_puttext unit tests #815
2020-07-23 21:21:11 -04:00
nick black
d2b7c2b76c
notcurses_init: no screen clear for NO_ALTERNATE_SCREEN, though #817
2020-07-22 18:02:23 -04:00
nick black
6d2ba86acc
Clear screen if we want smcup but it's not available #817
2020-07-22 17:53:46 -04:00
nick black
0bd73e2f1f
CMake: drop dirgb from test suite due to excess output
2020-07-22 16:38:23 -04:00
nick black
8e34f7525b
rgb/rgbgb pocs: use alternate screen
2020-07-22 14:59:14 -04:00
nick black
a76ee9a5af
tetris: refresh on startup in place of erase()
2020-07-22 13:34:18 -04:00
nick black
0e7e8b02eb
notcurses-input: refresh on start to clear screen in absence of smcup
2020-07-22 13:25:00 -04:00
nick black
604747c8f2
notcurses_puttext: use libunistring for wordbreaking #772
2020-07-22 03:31:54 -04:00
nick black
0ba1512d68
notcurses_debug: print plane name #780
2020-07-22 03:31:54 -04:00
nick black
f441a2829a
ghastly
2020-07-22 02:17:35 -04:00
nick black
255b404842
ncplane_puttext(): start long words early
...
If we're fed a word that in and of itself is wider than
the text layout area, and it is not the first word on the
row on which it starts, go ahead and start it there, as
opposed to breaking the line. #720
Also, remove sgr from test suite, as it's not a notcurses
application.
2020-07-22 02:11:09 -04:00
nick black
7a459abd56
tetris: clear screen in case background isn't available
2020-07-21 22:37:49 -04:00
nick black
26ae8cda5b
linux console: shim in eighths and quarter blocks #810
2020-07-20 23:05:59 -04:00
nick black
9c3428c6fa
reel: horrible bullshit downtightening ugh shameful #790
2020-07-20 22:56:25 -04:00
nick black
87ec38fce8
reel: remove obsolete FIXMEs
2020-07-20 10:23:01 -04:00
nick black
3166d0f233
map empty ballot to O in console, not -
2020-07-20 05:56:29 -04:00
nick black
001276e112
linux console: program ☐/☒ mappings for multiselect #809
2020-07-20 05:53:12 -04:00
nick black
3b405469a6
ncreel: fix painting of focused tablet at bottom #796
2020-07-20 05:12:56 -04:00
nick black
86edb9c9ad
ncreel: accept -m argument for reel margins #796
2020-07-20 04:41:26 -04:00
nick black
889f02bf6e
stage_cursor(): verify cuf1/cuf before using them #789
2020-07-20 03:57:35 -04:00
nick black
3aedec2501
expose cell_load_direct() #797
2020-07-20 03:20:44 -04:00
nick black
97571e86af
ncplane_putegc_yx() copies directly as opposed to going through putc() #797
2020-07-20 03:20:44 -04:00
nick black
0767aaec01
work around opensuse compilation issue #806
2020-07-20 02:21:13 -04:00
nick black
e768fb1509
rename stdscr->stdplane to work around ncurses.h #806
2020-07-20 00:34:08 -04:00
nick black
104bbfef50
add notcurses_lex_blitter()
2020-07-19 21:53:01 -04:00
nick black
5d6df94187
add notcurses_str_scalemode()
2020-07-19 21:52:54 -04:00
nick black
765ff89a3b
notcurses_str_blitter(): rewrite using objects
2020-07-19 21:41:22 -04:00
nick black
5422268d6f
python: install notcurses-pydemo from setup.py
2020-07-19 21:41:02 -04:00
nick black
37ceb753bf
notcurses-view: print blitter name #805
2020-07-19 02:54:53 -04:00
nick black
431d4a449d
use tty_emit() in place of term_emit() for tty-specific escapes #773
2020-07-19 02:19:19 -04:00
nick black
d46ca758a0
highcontrast: stash fgstate for later reapplication #748
2020-07-18 20:27:13 -04:00
nick black
9bd0b42a0e
normal: fix ncvisual_rotate() abort reported as FAILED #802
2020-07-18 20:27:13 -04:00
nick black
f8c47b0681
normal: fix plane rotation quit reported as FAILED #802
2020-07-18 20:27:13 -04:00
nick black
e0155c7d56
CELL_ALPHA_HIGHCONTRAST unit tests #748
2020-07-18 20:27:13 -04:00
Nick Black
82676cd395
linuxconjammer/linuxconsole PoCs: compile on freebsd
2020-07-16 14:33:42 -04:00
nick black
86a75531c6
Support newlines in ncplane_putnstr() when scrolling #793
2020-07-15 18:37:54 -04:00
nick black
b5cfc3e1ca
linux console: full quadblitter power #201
2020-07-13 23:23:27 -04:00
nick black
575c366960
linux console: we've got some hats now, motherfuckers #201
2020-07-13 23:23:27 -04:00
nick black
21d28e7234
linux console: shim in single quad block glyphs #201
2020-07-13 23:23:27 -04:00
nick black
eaa1c28756
linux console: shim in half blocks #201
2020-07-13 23:23:27 -04:00
nick black
a009eb946c
linux console: prep table for shims #201
2020-07-13 23:23:27 -04:00
Nick Black
50ce76bad8
Add kernel unicode-to-font mappings dynamically for line-drawing characters ( #794 )
...
Part 1 of a two-part revolution in Linux console graphics. Map all the line-drawing Unicode characters to similar glyphs. This means all our nice corners freely translate into rigid corners etc in the console, rather than hateful default characters (usually black diamonds). The demo and all widgets now look correct when drawing lines and boxes. Next, we'll add the actual glyphs for the block-drawing characters, and we'll have the finest graphics ever seen on a text-mode Linux console. #201
2020-07-13 18:04:43 -04:00
nick black
ff569d7114
terminfo: chop off $<N> syntax #769
2020-07-13 05:54:59 -04:00