223 Commits

Author SHA1 Message Date
adam 138e494ffb Added greyscale and rgb options for ext: colours. 2022-06-04 23:42:12 -04:00
adam 69f9e98e61 Turn the main engine into a function. 2022-06-04 23:42:02 -04:00
adam 348c0af58c Report errors that were originally silent. 2022-06-04 23:41:17 -04:00
adam d8b79c4034 Remove unused alias. 2022-06-04 20:37:02 -04:00
adam d0b12731e7 Clean up greys a bit, due to 16-base colours being user-mapped. 2022-06-04 16:09:58 -04:00
adam 8b398af672 Did rework for text_color variable. 2022-06-04 15:13:28 -04:00
adam 430a7e8b0e I've started the process of redesigning the colours. 2022-06-04 13:15:10 -04:00
adam 2737fbb288 Special case grey 2022-06-04 10:18:07 -04:00
adam b91fa6c891 Special case brown mapping 2022-06-04 10:16:30 -04:00
adam 6d2fa26e6c Clean up a comment. 2022-06-04 10:16:02 -04:00
adam f4a65f9a8b Show colors in all possible modes in dump. 2022-06-04 10:12:46 -04:00
adam 79a5382059 Fix cyan! 2022-06-04 10:12:09 -04:00
adam 216807a4cd Did the todo! 2022-06-04 09:30:49 -04:00
adam 1c32e0aa8c Move color dump to earlier in sgr builder. 2022-06-04 09:29:55 -04:00
adam 5bbd039f7c Make color dump pretty. 2022-06-04 09:29:38 -04:00
adam 89446b9e4b Add the whole EGA/VGA selection to the name table. 2022-06-04 09:29:14 -04:00
adam 7007770cb5 Add 12-bit color support. 2022-06-04 09:10:51 -04:00
adam 5d0e0d3741 Add named colour support to SGI builder.
I'd like to add support for a named color table which can be
scanned in...
2022-06-04 08:59:00 -04:00
adam f5ced0e388 Now __build_sgr_code supports a simple language
This makes it easy in configs to build control codes for
colour, etc.
2022-06-04 08:56:51 -04:00
adam e34caae816 Add support for other SGR tokens to the ansi code builder. 2022-06-04 08:56:47 -04:00
adam 856fd35085 This sets me up to do more adaptive colours with the prompt.
Colours now can use 24-bit colour sequences.

A script drives the generation of SGR codes...  Now I just have
to integrate this into `tcshrc.prompt.final`, for dynamic updating.
2022-06-04 08:56:40 -04:00
adam 328c1c13e3 Fine grained control over prompt elements.
Use `CSHENV_DISABLE_PROMPT_` env vars to control these.
2022-06-04 08:56:35 -04:00
adam 910f194c4e Use a more portable branch symbol.
(I need a way to auto-detect the powerline one and use it when that
is present.)
2022-06-04 08:56:32 -04:00
adam 9bc6b1a248 Merge branch 'master' of github.com:adamlsd/cshenv 2022-05-23 17:01:55 -04:00
adam 861132a187 Use the branch symbol in the Supplementary Special purpose Plane
It seems to be in the fonts I like to use... so...
2022-05-18 00:09:50 -04:00
adam 3ee79caa83 Make the prompt char itself have no colour (dim/reset). 2022-05-18 00:09:21 -04:00
adam ac869bf860 Merge branch 'master' of github.com:adamlsd/cshenv 2022-05-17 11:29:38 -04:00
adam 6754d29dfa I don't like rebasing as part of a pull or merge strategy 2022-05-17 11:29:10 -04:00
adam b958dcbfc9 Merge branch 'master' of github.com:adamlsd/cshenv 2022-05-16 15:51:43 -04:00
adam 3c84f07a46 Starting to mess with a light-color mode for mornings. 2022-05-16 15:44:47 -04:00
ADAM David Alan Martin 79ab6245ee Update prompt to show git branch name.
I should take some time, go back, and restructure some
of how the prompt gets built/calculated.  But this is fine
for now.
2022-05-16 15:28:48 -04:00
ADAM David Alan Martin 2c314a8d91 Use a builtin for show branch name. 2022-05-16 15:27:50 -04:00
ADAM David Alan Martin 6e4d743af6 Prevent repeated colours or symbols. 2022-04-29 15:26:06 -04:00
adam 19c7e2495d Merge branch 'master' of github.com:adamlsd/cshenv 2022-04-28 17:01:02 -04:00
adam f7c5854222 Added a new addage. 2022-04-28 17:00:16 -04:00
adam 894f18c7f8 Added lexical cast exception highlight. 2022-04-28 16:59:51 -04:00
adam c9f70665c4 Make unicode char construction more portable. 2022-04-22 17:37:32 -04:00
adam 58cd473e63 Merge branch 'master' of github.com:adamlsd/cshenv
Conflicts:
	vim/after/syntax/cpp.vim
2022-04-19 14:32:33 -04:00
adam a9b6fe10da A whole bunch of C++ highlight support. 2022-04-19 14:30:06 -04:00
adam 8672bf09e9 Battery level support for macosx. 2022-04-15 15:59:26 -04:00
adam f725a1d9e0 Adjust for dumbness in how macos sed replaces things.
`tr` is more straightforward.
2022-04-15 15:58:34 -04:00
adam 5c7b5f3ff8 DUH.... sed replaces with global... 2022-04-15 15:53:50 -04:00
adam 2f353a600d Fix the prompt tagging in macosx.
Something is dumb with the unicode Terminal... so I'm punting for now.
2022-04-15 15:52:44 -04:00
adam 51e339ce74 Fix prompt shuffling when shuf is not found. 2022-04-15 15:31:44 -04:00
ADAM David Alan Martin fcc856f62b Merge remote-tracking branch 'origin/master' 2022-04-15 15:14:50 -04:00
adam d53a244b5f Make battery level label italic and more visible. 2022-04-15 15:13:00 -04:00
ADAM David Alan Martin 39d8216198 Use GBP symbol for Escape, to work with GNOME touchscreen. 2022-04-15 15:12:20 -04:00
ADAM David Alan Martin 7758c2b961 Vim touchscreen scrolling support.
Use the environment variable to turn it on.
2022-04-15 15:10:18 -04:00
ADAM David Alan Martin 5174b9bee6 Configurable battery level source file 2022-04-15 15:02:59 -04:00
adam 69e71ce4d1 Make battery device configurable 2022-04-14 16:40:54 -04:00