Mitchell Hashimoto
45ac9b5d4c
font-feature config to enable/disable OpenType Font Features
2023-07-05 13:12:30 -07:00
Mitchell Hashimoto
9a079bb5b9
background-blur-radius for macOS
2023-07-03 20:43:53 -07:00
Mitchell Hashimoto
7896f99f2f
config: clarify reload
2023-07-03 19:45:36 -07:00
Mitchell Hashimoto
017da411f8
metal: start setting up background transparency
2023-07-03 17:59:50 -07:00
Mitchell Hashimoto
8756090266
config: add background-opacity and float parsing for config
2023-07-03 17:50:45 -07:00
Thorsten Ball
8e464db049
Toggle fullscreen on super/ctrl+return, only macOS for now
...
This fixes or at least is the first step towards #171 :
- it adds `cmd/super + return` as the default keybinding to toggle
fullscreen for currently focused window.
- it adds a keybinding handler to the embedded apprt and then changes
the macOS app to handle the keybinding by toggling currently focused
window.
2023-07-02 20:23:49 +02:00
Mitchell Hashimoto
3795cd6c2d
font: turn rasterization options into a struct, add thicken
2023-07-01 09:55:19 -07:00
Mitchell Hashimoto
314f9287b1
Update Zig ( #164 )
...
* update zig
* pkg/fontconfig: clean up @as
* pkg/freetype,harfbuzz: clean up @as
* pkg/imgui: clean up @as
* pkg/macos: clean up @as
* pkg/pixman,utf8proc: clean up @as
* clean up @as
* lots more @as cleanup
* undo flatpak changes
* clean up @as
2023-06-30 12:15:31 -07:00
Mitchell Hashimoto
56f8e39e5b
Update zig, mach, fmt
2023-06-25 11:08:20 -07:00
Mitchell Hashimoto
f31d6fb8fe
apprt: clean up how apprt initializes surfaces
2023-05-31 21:08:50 -07:00
Jack Pearkes
5aa3514122
config: add confirm-close-surface
2023-04-05 12:49:03 -07:00
Mitchell Hashimoto
16244d0dab
apprt/gtk: close keybind doesn't leak memory
2023-03-27 10:24:01 -07:00
Mitchell Hashimoto
0cd6e08ca3
if no argv, then don't load CLI args
2023-03-20 15:51:27 -07:00
Mitchell Hashimoto
ce10d875b6
Merge pull request #117 from mitchellh/config-stuff
...
Reloadable Configuration
2023-03-19 12:32:23 -07:00
Mitchell Hashimoto
f28b677417
don't look up default shell from SHELL env if shell is set
2023-03-19 12:13:56 -07:00
Mitchell Hashimoto
b26e51d222
macos: implement config reloading callback
2023-03-19 09:50:54 -07:00
Mitchell Hashimoto
f5c1dfa374
reload_config keybinding (defaults to ctrl+alt+super+space)
2023-03-19 09:50:53 -07:00
Mitchell Hashimoto
3ce7baf30e
config: dedicated load func so we can reload
2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
11e4215f9f
config: implement comparison for keybinding change
2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
0d93da5f30
config: changed() to test if a specific key has changed
2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
16166b6297
config: implement change iterator (one todo)
2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
510f4b4699
config supports clone() operation for a deep copy
2023-03-19 09:49:42 -07:00
Mitchell Hashimoto
8b9a1d8530
linux: proper split shortcuts
2023-03-17 14:27:49 -07:00
Mitchell Hashimoto
b0cb46dab9
linux copy/paste defaults to ctrl+shift+c/v
2023-03-16 23:27:21 -07:00
Mitchell Hashimoto
0744e504e1
Use proper Linux default keybindings
...
These are just different from macOS. I've looked at various Linux
terminals and there seems to be some general consensus around this.
2023-03-16 21:59:17 -07:00
Mitchell Hashimoto
3976da8149
macos: navigate splits directionally
2023-03-11 17:55:31 -08:00
Mitchell Hashimoto
04c38ef3b0
macos: change focus callback to use an enum so we can get other dirs
2023-03-11 17:44:00 -08:00
Mitchell Hashimoto
b582691185
macos: hook up all the bindings so we're ready to handle focus event
2023-03-11 16:22:04 -08:00
Mitchell Hashimoto
0aadd19282
macos: close surface works
2023-03-10 14:44:33 -08:00
Mitchell Hashimoto
6c857877e8
apprt/embedded: close surface callback
2023-03-08 15:05:15 -08:00
Mitchell Hashimoto
8ce6f349f8
input: new_split binding, can parse enums
2023-03-08 08:57:38 -08:00
Mitchell Hashimoto
89d07fcd83
clear_history binding, default Cmd+K
2023-03-03 09:27:47 -08:00
Mitchell Hashimoto
2a40bdabca
macos: load config file default file locations
2023-03-03 09:01:13 -08:00
Mitchell Hashimoto
d8537732dd
config: add functions to load from home and load configured
2023-03-03 08:57:21 -08:00
Mitchell Hashimoto
e28d20a05d
disable the auto balance config by default, add some padding
...
This makes resizing too jittery which I think is a worse out of the box
experience than the padding.
2023-03-02 12:55:46 -08:00
Mitchell Hashimoto
6b23dbb169
flatpak: use host-spawn to find default shell
2023-02-25 21:56:51 -08:00
Mitchell Hashimoto
6c6a3d6a5d
"goto_tab" key binding to jump to a specific tab, defaults to Super+N
...
The apprt surface must implement `gotoTab` to make this work. This is
only implemented in GTK for now.
2023-02-25 10:48:38 -08:00
Mitchell Hashimoto
aa2d3720b6
gtk: previous/next tab bindings
2023-02-25 10:29:58 -08:00
Mitchell Hashimoto
ac1c961c4e
gtk: close tab button
2023-02-24 15:54:36 -08:00
Mitchell Hashimoto
26182611c6
move allocator to global state
2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
9bd527fe00
macos: config API
2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
1093cf5254
config: enable passwd isn't compiled for wasm
2022-12-30 16:32:49 -08:00
Mitchell Hashimoto
7c291a2c4c
config: API for wasm
2022-12-30 16:19:54 -08:00
Mitchell Hashimoto
b8832833cb
respect application cursor keys for arrow (DECCKM)
...
This fixes the arrow keys in htop.
2022-11-27 20:57:58 -08:00
Mitchell Hashimoto
70b017200a
copying selection trims trailing whitespace
...
This is configurable with `clipboard-trim-trailing-spaces`.
This also fixes a bug where debug builds would crash when copying blank
lines. This never affected release builds.
2022-11-22 21:27:05 -08:00
Mitchell Hashimoto
66078493e6
mac: get default click repeat interval from NSEvent
2022-11-22 11:20:00 -08:00
Mitchell Hashimoto
29b651ee46
configurable click interval with click-repeat-interval
2022-11-22 10:57:57 -08:00
Mitchell Hashimoto
56de5846f4
OSC 52: Clipboard Control ( #52 )
...
This adds support for OSC 52 -- applications can read/write the clipboard. Due to the security risk of this, the default configuration allows for writing but _not reading_. This is configurable using two new settings: `clipboard-read` and `clipboard-write` (both booleans).
2022-11-21 15:12:00 -08:00
Mitchell Hashimoto
611760f98b
ability to customize cursor color
2022-11-20 20:35:20 -08:00
Mitchell Hashimoto
2e74b7af9e
ability to set selection fg/bg colors
2022-11-20 20:27:12 -08:00