Commit Graph

127 Commits

Author SHA1 Message Date
nick black
343a74ac82
[ncneofetch] don't move logo to left #2138 2021-09-19 23:45:15 -04:00
nick black
b2b9655d6f don't try to run xrandr on XNU/Windows 2021-09-16 03:27:17 -05:00
nick black
3d02a75323
NCOPTION_DRAIN_INPUT in notcurses-info and ncneofetch 2021-09-16 01:11:59 -04:00
nick black
e70302416e [ncneofetch] try using sysctlbyname() on bsd for totalram 2021-09-10 04:13:10 -03:00
nick black
128c35dc69 [ncneofetch] get total RAM on apple 2021-09-10 02:02:52 -05:00
nick black
51de081616 [ncneofetch] don't go just printing NULLs 2021-09-10 01:52:37 -05:00
nick black
e7fe2d2ffd
[ncneofetch] kill 'KERNEL_XNU unhandled' warning 2021-09-10 02:35:44 -04:00
nick black
5734444d49 ncneofetch: use kern.osproductversion sysctl for macOS version #2158 2021-09-10 01:32:55 -05:00
nick black
25afdd8ab6 [kitty] handle level 1 of keyboard protocol #2131 2021-09-04 17:39:04 -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
nick black
333c614120
ncneofetch: drop ending newline 2021-08-28 22:35:47 -04:00
nick black
ba030a3293 Windows: kill some warnings 2021-08-26 05:36:43 -04:00
nick black
5c3e3017ae ncneofetch: print windows logo, detect windows 2021-08-24 03:27:37 -04:00
nick black
2bd3fe5f92
bold up ncneofetch infoplane 2021-08-13 14:16:16 -04:00
nick black
43f2504259
ncneofetch: always center paletteplane 2021-08-12 23:51:11 -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
f5d16d1d8a new functions notcurses_{account,host}name() 2021-08-05 06:39:09 -04:00
nick black
a0007a9a3c add u7/cnorm/civis to windows 2021-08-05 06:39:09 -04:00
nick black
bf2754cedb get windows working once more 2021-08-05 06:39:09 -04:00
nick black
c091f95b6d no getuid on windows 2021-08-05 06:39:09 -04:00
nick black
6c552455b3 getlocalhostname() for windows 2021-08-05 06:39:09 -04:00
nick black
9066876ee0 windows: no utsname.h 2021-08-05 06:39:09 -04:00
nick black
c5398e09e1 pass TAM down through iterm2 graphics stack #1950 2021-08-05 06:39:09 -04:00
nick black
9779dd9fef windows: don't try and use getpwuid() 2021-08-05 06:39:09 -04:00
nick black
8947a5f5d7
not many neofetch changes recently 2021-07-14 22:57:48 -04:00
nick black
2c838e3aa7 info: when printing neoart, use default foreground 2021-07-13 01:57:54 -05:00
nick black
3458c440d9 ncneofetch gets a logo on darwin #1925 2021-07-12 22:04:38 -04:00
nick black
50a7996b4f
notcurses_detected_terminal: use termdesc_longterm() 2021-07-04 07:01:50 -04:00
nick black
5451ecd890
return version in ncdirect_detected_terminal() 2021-07-04 06:37:34 -04:00
Nick Black
ec5ba6da80 ncneofetch: popen(3) wants pclose(3), not fclose(3) 2021-06-23 15:01:14 -04:00
nick black
0d7a5a5ef8 remove the majority of notcurses_check_pixel_support() calls #1469 2021-06-13 18:21:14 -04:00
nick black
d695a8206f
add ncdirect_detected_terminal() and notcurses_detected_terminal() #1759 2021-06-12 13:10:16 -04:00
nick black
d20a4d8104
ncdirect: restore colors properly following sgr #1703 2021-05-31 20:07:10 -04:00
Daniel Eklöf
632cbcc881 fetch: add artix to distro info 2021-05-11 11:56:22 -04:00
nick black
3eb004b61d s/channels/ncchannels/g #1570 2021-04-29 01:32:08 -04:00
nick black
96ac640733
cell->nccell 2021-04-14 09:31:50 -04:00
Nick Black
e591ec2e98
cell -> nccell throughout much of remaining API (#1535)
cell -> nccell throughout much of the API #1532
2021-04-14 06:42:14 -04:00
nick black
ff76dba6ed
cell_strdup -> nccell_strdup 2021-04-10 09:21:52 -04:00
nick black
33d408b4a3
[sixel] call sprite_sixel_init at proper time #1436 2021-03-22 07:30:17 -04:00
nick black
11108e4d95 [kitty] kitty_cell_wipe() now works perfectly 2021-03-20 10:59:33 -04:00
nick black
228b9edf09
ncneofetch: adapt to screen width for neofetch-style logos 2021-03-07 21:25:57 -05:00
nick black
9b2ce38385
ncneofetch: print units on RAM output 2021-03-07 14:11:59 -05:00
nick black
d1fc0c3adc
ncneofetch: no newline in RAM line #1386 2021-03-07 14:10:50 -05:00
nick black
7b28c68cd5 ncneofetch: prettier RGB signifier 2021-03-02 08:12:37 -05:00