Commit Graph

241 Commits

Author SHA1 Message Date
26fce0ca4b Fix prompt layout slightly. 2022-06-16 17:20:41 -04:00
34e8da4e82 Add more highlighting for testing primtives. 2022-06-16 17:19:12 -04:00
4ee7b707d0 Merge branch 'master' of github.com:adamlsd/cshenv 2022-06-09 18:08:22 -04:00
764d163913 Updating my preferred sigil set a bit. 2022-06-09 18:08:10 -04:00
e07e1f8e3d Merge branch 'sessions' 2022-06-05 23:32:30 -04:00
b3157c76a8 Adding session support. 2022-06-05 23:28:06 -04:00
7d3a9d8636 Merge branch 'colour-redesign'
Conflicts:
	tcshrc.colors
2022-06-05 23:18:55 -04:00
e1e030f612 Percent, branch, and @ all had to be done at once.
Because they were kinda intertwined in the colours I chose.
2022-06-05 23:15:18 -04:00
ba73d1b798 Added support for underline colour in sgr gen. 2022-06-05 23:10:11 -04:00
00338131e5 Colour for nesting depth prompt is now modernized 2022-06-05 15:37:08 -04:00
e9fe40ca91 The aliases were not the way I decided to go... 2022-06-05 15:19:58 -04:00
2a3af31e7a Modernize the tty/line prompt. 2022-06-05 15:03:03 -04:00
78a3b59499 Add debugging print. 2022-06-05 14:58:59 -04:00
a9485b4b3b Fixed up the prompt sigil itself. 2022-06-05 12:35:21 -04:00
28ca17b30f Old prompt should just use an SGR reset.
This makes it more simple.
2022-06-05 03:24:30 -04:00
b96eb5ca34 User name colour prompt updated. 2022-06-05 03:12:22 -04:00
b9764bd8a6 Now updated brace_color... 2022-06-05 02:19:40 -04:00
286e9117f1 Host colour rewritten. 2022-06-05 01:38:23 -04:00
138e494ffb Added greyscale and rgb options for ext: colours. 2022-06-04 23:42:12 -04:00
69f9e98e61 Turn the main engine into a function. 2022-06-04 23:42:02 -04:00
348c0af58c Report errors that were originally silent. 2022-06-04 23:41:17 -04:00
d8b79c4034 Remove unused alias. 2022-06-04 20:37:02 -04:00
d0b12731e7 Clean up greys a bit, due to 16-base colours being user-mapped. 2022-06-04 16:09:58 -04:00
8b398af672 Did rework for text_color variable. 2022-06-04 15:13:28 -04:00
430a7e8b0e I've started the process of redesigning the colours. 2022-06-04 13:15:10 -04:00
2737fbb288 Special case grey 2022-06-04 10:18:07 -04:00
b91fa6c891 Special case brown mapping 2022-06-04 10:16:30 -04:00
6d2fa26e6c Clean up a comment. 2022-06-04 10:16:02 -04:00
f4a65f9a8b Show colors in all possible modes in dump. 2022-06-04 10:12:46 -04:00
79a5382059 Fix cyan! 2022-06-04 10:12:09 -04:00
216807a4cd Did the todo! 2022-06-04 09:30:49 -04:00
1c32e0aa8c Move color dump to earlier in sgr builder. 2022-06-04 09:29:55 -04:00
5bbd039f7c Make color dump pretty. 2022-06-04 09:29:38 -04:00
89446b9e4b Add the whole EGA/VGA selection to the name table. 2022-06-04 09:29:14 -04:00
7007770cb5 Add 12-bit color support. 2022-06-04 09:10:51 -04:00
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
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
e34caae816 Add support for other SGR tokens to the ansi code builder. 2022-06-04 08:56:47 -04:00
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
328c1c13e3 Fine grained control over prompt elements.
Use `CSHENV_DISABLE_PROMPT_` env vars to control these.
2022-06-04 08:56:35 -04:00
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
9bc6b1a248 Merge branch 'master' of github.com:adamlsd/cshenv 2022-05-23 17:01:55 -04:00
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
3ee79caa83 Make the prompt char itself have no colour (dim/reset). 2022-05-18 00:09:21 -04:00
ac869bf860 Merge branch 'master' of github.com:adamlsd/cshenv 2022-05-17 11:29:38 -04:00
6754d29dfa I don't like rebasing as part of a pull or merge strategy 2022-05-17 11:29:10 -04:00
b958dcbfc9 Merge branch 'master' of github.com:adamlsd/cshenv 2022-05-16 15:51:43 -04:00
3c84f07a46 Starting to mess with a light-color mode for mornings. 2022-05-16 15:44:47 -04:00
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
2c314a8d91 Use a builtin for show branch name. 2022-05-16 15:27:50 -04:00