Mitchell Hashimoto
2e74b7af9e
ability to set selection fg/bg colors
2022-11-20 20:27:12 -08:00
Mitchell Hashimoto
01573819ea
Configurable 256 Color Palette ( #50 )
...
The 256 color palette can now be configured with the `palette=N=HEX` format in the config. Example, Dracula:
```
foreground=#f8f8f2
background=#282a36
palette=0=#21222c
palette=8=#6272a4
palette=1=#ff5555
palette=9=#ff6e6e
palette=2=#50fa7b
palette=10=#69ff94
palette=3=#f1fa8c
palette=11=#ffffa5
palette=4=#bd93f9
palette=12=#d6acff
palette=5=#ff79c6
palette=13=#ff92df
palette=6=#8be9fd
palette=14=#a4ffff
palette=7=#f8f8f2
palette=15=#ffffff
```
2022-11-20 15:25:51 -08:00
Mitchell Hashimoto
b4d5901225
update some docs
2022-11-16 21:18:37 -08:00
Mitchell Hashimoto
8ac90d33e6
new_tab action
2022-11-16 21:17:41 -08:00
Mitchell Hashimoto
8eb97cd9ad
Option (def true) to inherit font size on new window
2022-11-16 09:51:59 -08:00
Mitchell Hashimoto
dad4923901
hook up all the keyboard actions
2022-11-15 20:10:50 -08:00
Mitchell Hashimoto
334743e8a7
Don't crash on huge padding, warn users if padding is absurd
2022-11-14 17:41:15 -08:00
Mitchell Hashimoto
c515cb9b5f
initial padding options
2022-11-14 16:19:20 -08:00
Mitchell Hashimoto
c602820dc9
Set proper keybinds
2022-11-06 17:27:17 -08:00
Mitchell Hashimoto
c9b01fdc6c
support app quitting to close all windows
2022-11-06 14:10:28 -08:00
Mitchell Hashimoto
be76bc6c1a
close window action
2022-11-06 10:44:23 -08:00
Mitchell Hashimoto
ecbd119654
Hook up new window, modify renderers
2022-11-06 10:34:43 -08:00
Mitchell Hashimoto
116a157e17
change defaults to be more aesthetically pleasing
2022-11-01 18:25:36 -07:00
Mitchell Hashimoto
b528d435fb
properly handle "inherit" working directory value
2022-11-01 18:22:33 -07:00
Mitchell Hashimoto
df50aacff1
macos: Default working directory to home dir if launched from app
...
This also introduces a `--working-directory` config flag.
2022-11-01 18:10:30 -07:00
Mitchell Hashimoto
be1fa78511
extract passwd to its own file so its easier to test
2022-11-01 17:47:34 -07:00
Mitchell Hashimoto
74d8d6cd6c
source default shell from SHELL if set
2022-11-01 14:09:40 -07:00
Mitchell Hashimoto
7da18d8063
look up default shell in user passwd entry
2022-11-01 14:02:10 -07:00
Mitchell Hashimoto
f09ba38c6f
remove stage1 hack
2022-11-01 13:25:20 -07:00
Mitchell Hashimoto
d8cdd5d8fe
Fix the primary leak with config
2022-10-25 15:48:13 -07:00
Mitchell Hashimoto
c103a278f1
render font info in dev mode
2022-10-17 14:47:51 -07:00
Mitchell Hashimoto
f29393bca6
Imgui ( #20 )
...
* vendor/cimgui
* Add a "dev mode" window which for now is just imgui demo
2022-10-16 16:20:08 -07:00
Mitchell Hashimoto
53aab0a163
--font-family CLI config
2022-09-29 14:51:31 -07:00
Mitchell Hashimoto
5567564dd0
cli args fix stage1 miscompilation, add font families
2022-09-29 13:14:20 -07:00
Mitchell Hashimoto
469515c02b
bind function keys (F1 to F12)
2022-08-26 10:27:41 -07:00
Mitchell Hashimoto
9601920b4d
font size is now in font points, determine size based on window DPI
2022-08-25 12:29:28 -07:00
Mitchell Hashimoto
3b5a9caff5
hook up more control keys: home, end, page up, page down
2022-08-24 11:16:36 -07:00
Mitchell Hashimoto
80376ce6da
hook up keybindings for copy/paste and arrow keys
2022-08-24 11:08:39 -07:00
Mitchell Hashimoto
2800a46854
keybind parsing in CLI args
2022-08-24 09:31:14 -07:00
Mitchell Hashimoto
e3ddffdf36
don't scale up OpenGL projection in Retina, use true values
...
This gets rid of blurriness.
2022-08-09 10:21:23 -07:00
Mitchell Hashimoto
782ddfe722
--config-file to load a config file
...
The config file is just CLI args one per line.
2022-08-01 18:04:39 -07:00
Mitchell Hashimoto
0249f3c174
cli parsing supports modification, add "RepeatableString" as example
...
This lets values modify themselves, which we use to make a repeatable
string implementation. We will use this initially to specify config
files to load.
2022-08-01 11:54:51 -07:00
Mitchell Hashimoto
6641fcbd4c
add --font-size flag for font size in pixels
2022-07-21 21:35:49 -07:00
Mitchell Hashimoto
439e72536a
misparsing colors
2022-05-20 15:47:18 -07:00
Mitchell Hashimoto
da359b8e36
properly copy string cli flags
2022-05-19 15:49:26 -07:00
Mitchell Hashimoto
57f257fd77
cli args support optional types
2022-05-19 15:20:28 -07:00
Mitchell Hashimoto
3b54d05aec
CLI parsing, can set default foreground/background color
2022-05-19 14:00:35 -07:00