Mitchell Hashimoto
a38220eade
terminal: move sanitization check to this package, unit test
2023-11-04 11:19:25 -07:00
David Rubin
6e575d9035
configs added
2023-11-03 13:20:26 -07:00
Mitchell Hashimoto
0f7c534454
Merge pull request #790 from mitchellh/slonik-az/keybind-esc-seq
...
feat: keybind escape sequence action "esc:text" similar to "csi:text"
2023-11-02 21:30:00 -07:00
Hanna
2d7e2c8345
Integrate libadwaita for the gtk backend ( #792 )
...
* When using gtk as the backend, link libadwaita
* Update c.zig
* Use libadwaita's theme manager for gtk
* update the documentation for window-theme
* build: add libadwaita to the nix devshell
* forgot to properly import libadwaita
* apprt/gtk: adwaita style change
---------
Co-authored-by: Mitchell Hashimoto <mitchell.hashimoto@gmail.com>
2023-11-02 21:29:29 -07:00
Leo Razoumov
dc527bd2cb
feat: keybind escape sequence action "esc:text" similar to "csi:text"
2023-11-02 17:50:17 -04:00
Mitchell Hashimoto
c182093934
Merge pull request #762 from mitchellh/mattpolzin-misc-typos
...
Just a couple of minor typos discovered while getting started.
2023-10-29 12:55:12 -07:00
Mitchell Hashimoto
68275d6afa
config: update some comments around pwd inheritance
...
Fixes #760
2023-10-29 12:02:19 -07:00
Mathew Polzin
d5776ff017
Fix typo in Config.zig
...
key scan -> keys can
2023-10-28 18:54:32 -05:00
Mitchell Hashimoto
2c541a7e86
config: -e replaces previous args
2023-10-27 18:26:44 -07:00
Mitchell Hashimoto
4f62526782
config: tests for -e parsing
2023-10-27 18:24:13 -07:00
Mitchell Hashimoto
4104f78cba
cli: handle "-e" as the command to execute
2023-10-27 15:57:20 -07:00
Mitchell Hashimoto
9c56bd5dba
config: command-arg to specify arguments to the executed command
...
Fixes #744
2023-10-27 15:38:50 -07:00
Mitchell Hashimoto
9330b25f1a
config: make step resize opt-in for macos
2023-10-27 08:18:32 -07:00
Mitchell Hashimoto
9b63da2ea7
config: slighty copy editing
2023-10-27 08:08:43 -07:00
Gregory Anders
add2b675bd
config: add window-step-resize option
2023-10-27 09:33:56 -05:00
Mitchell Hashimoto
63854cbd3a
config: default inspector keybind to same as chromium
2023-10-26 14:43:09 -07:00
Erlend Lind Madsen
7d99a6063b
config: comment regarding font-family config reload
2023-10-22 20:49:22 +07:00
Mitchell Hashimoto
3a26812e6a
config: update doc comment
2023-10-19 20:08:37 -07:00
Jon Parise
17b63f7617
config: add quit-after-last-window-closed
...
Whether or not to quit after the last window is closed. This defaults
to false. Currently only supported on macOS.
2023-10-18 14:03:32 -07:00
Mitchell Hashimoto
ff38d3e358
config: add cursor-opacity
2023-10-14 14:08:06 -07:00
Mitchell Hashimoto
6a065540dd
terminal: KAM (mode 2)
...
This has an associated config `vt-kam-allowed` which defaults to "false"
since this mode can cause the terminal to become mostly unusable. We
include this mode for completions sake however.
2023-10-12 17:07:47 -07:00
Mitchell Hashimoto
f7cc5ccdd6
config: add mouse-shift-capture configuration
2023-10-11 21:38:52 -07:00
Mitchell Hashimoto
e74897fa01
config: add option to disable working directory inheritance
...
Fixes #618
2023-10-05 21:55:43 -07:00
Mitchell Hashimoto
7eb3130faf
config: update some docs
2023-10-04 22:09:20 -07:00
Mitchell Hashimoto
b98cc3d79f
config: add remaining font modifiers
2023-10-04 22:08:19 -07:00
Mitchell Hashimoto
54b9b45a7f
font: rework font init to use a struct with modifiersets everywhere
2023-10-04 17:23:57 -07:00
Mitchell Hashimoto
cec45de842
config: note gtk bug
2023-09-30 21:48:22 -07:00
Mitchell Hashimoto
604eeceb03
apprt/glfw: support window-width, window-height configurations
2023-09-30 20:10:08 -07:00
Mitchell Hashimoto
6c69f0ef63
apprt/gtk: gtk-single-instance defaults to true only if desktop env
...
Fixes #473
A new config value for `gtk-single-instance = desktop` is now valid.
This value uses GTK single instance mode only if it detects Ghostty was
launched from a desktop environment (i.e. clicking on the icon) through
the `.desktop` Freedesktop file. Otherwise, it disables single instance.
This enables Ghostty to work well with the CLI and accept all the
typical CLI flags. It will make Ghostty launch slower from the CLI but I
think this is an acceptable tradeoff.
2023-09-30 08:46:39 -07:00
Mitchell Hashimoto
56b0cb51d5
apprt/gtk: previous_tab/next_tab action do not consume if there are no tabs
2023-09-29 22:12:38 -07:00
Mitchell Hashimoto
a85c508892
apprt/gtk: add ctrl+page-up/down as prev/next tab
2023-09-29 22:04:30 -07:00
Mitchell Hashimoto
659fa2cc66
config: keybinding clone must clone all members
2023-09-29 22:04:17 -07:00
Mitchell Hashimoto
47ee1e7355
input: Binding string can be unconsumed with "unconsumed:" prefix
2023-09-29 21:34:23 -07:00
Mitchell Hashimoto
d03083c7f5
apprt/gtk: default working-directory to home if launched from desktop
...
Fixes #573
2023-09-29 15:52:45 -07:00
Patrick Fong
741606a7ab
fix grammar
2023-09-29 11:44:32 -07:00
Patrick Fong
d832507644
improve docs on font config
2023-09-29 11:42:49 -07:00
Mitchell Hashimoto
685495c896
apprt/gtk: make wide-style gtk tabs configurable
2023-09-28 08:54:15 -07:00
Tim Culverhouse
c540d18095
config: default TERM to xterm-ghostty
...
Default the TERM value to "xterm-ghostty" to prevent breaking vim.
Consider changing back to ghostty in the future
2023-09-28 09:45:57 -05:00
Tim Culverhouse
779186adc0
config: add term config option
...
Add a configuration key for the TERM environment variable. Default this
to "ghostty". Most TEs are using their name as the default TERM value.
Most modern termulators aren't even providing "xterm-" as an alias
anymore, after some drama between kitty / ncurses.
Notably, this also has issues for tcell-based applications (I've
submitted a PR to tcell to fix) because it fails if the TERM value
doesn't match the _primary_ name of the terminal in the terminfo file.
Providing a config option allows users to modify-with-persistence if
they have issues, but Ghostty should be known as Ghostty by default!
2023-09-26 12:53:41 -05:00
Mitchell Hashimoto
db3053c17e
config: update docs
2023-09-26 08:53:57 -07:00
Mitchell Hashimoto
17c0e7f75f
config: font style is a union
2023-09-26 08:13:11 -07:00
Mitchell Hashimoto
7a9a36ecb0
config: remove unused test, make parse test more intense
2023-09-24 20:49:53 -07:00
Mitchell Hashimoto
41170bb4e0
config: codepoint override font descriptors should not require monospace
2023-09-24 20:36:07 -07:00
Mitchell Hashimoto
c2cc2b8f03
core: hook up the codepoint map to the loaded font group
2023-09-24 20:35:05 -07:00
Mitchell Hashimoto
a8877d334c
config: unicode range parser is more lenient about whitespace
2023-09-24 20:32:35 -07:00
Mitchell Hashimoto
bcafbc8abb
config: add font-codepoint-map
2023-09-24 20:28:24 -07:00
Mitchell Hashimoto
7a8aea6c77
config: update some docs to clarify how to disable ligatures
2023-09-24 09:38:37 -07:00
Mitchell Hashimoto
efa6d85855
config: update docs
2023-09-24 09:15:32 -07:00
Mitchell Hashimoto
52591161bc
config: add font-style configurations
2023-09-24 09:13:25 -07:00
Mitchell Hashimoto
9421bec3a1
cli: move cli_args.zig to cli
2023-09-23 22:46:16 -07:00