240 Commits

Author SHA1 Message Date
Mitchell Hashimoto
b48d24a546 update zig 2024-03-13 09:14:12 -07:00
ProfOak
f7911937ec Move selection paste to linux config section 2024-02-21 22:37:05 -06:00
ProfOak
96daf97d19 Add keybind support for shift+insert selection paste 2024-02-21 19:33:05 -06:00
Felipe Coury
733f4464c3 docs: correct MacOS location for themes on config docs 2024-02-17 10:53:27 -03:00
Ryan Cao
56ebc78b8a docs: document the text action for keybind 2024-02-16 17:40:43 +08:00
Mitchell Hashimoto
7548ac368e config: note that tab restore with titlebar tabs on macos 13 is broken 2024-02-12 21:30:24 -08:00
Mitchell Hashimoto
eb653907d6 config: grapheme-width-method sets mode 2027
Fixes #1403

This changes the behavior of `grapheme-width-method = unicode` to change
the default state of mode 2027 to true. Prior to this, setting this
config would force grapheme clustering regardless of mode 2027. Now,
this only sets the default and running TUI programs can disable it if
they want.
2024-02-02 12:13:13 -08:00
Mitchell Hashimoto
e5400bad06 config: add window-theme = auto for automatic choosing based on bg color 2024-02-01 20:49:28 -08:00
Erlend Lind Madsen
c418ae577c url: add missing rarer (all) characters allowed in URL 2024-02-02 04:59:13 +01:00
Mitchell Hashimoto
bcab97b1ce Merge pull request #1435 from erf/url-regex
url: add missing url-scheme tests
2024-02-01 18:42:31 -08:00
Erlend Lind Madsen
823aedbb88 url: add missing url-scheme tests 2024-02-02 03:17:24 +01:00
Mitchell Hashimoto
f1fe3d9c88 Merge pull request #1434 from erf/url-regex
url: support dash '-' in urls
2024-02-01 18:17:07 -08:00
Erlend Lind Madsen
a3e2d9d250 url: sort url schemes by most-used 2024-02-02 02:59:55 +01:00
Erlend Lind Madsen
ab8d5e261a url: support dash '-' in urls 2024-02-02 02:45:48 +01:00
Mitchell Hashimoto
6482c25579 macos: titlebar tabs set window appearance based on bg luminance
Fixes #1427
2024-02-01 16:47:45 -08:00
Erlend Lind Madsen
4475f5b9c5 url/Link: simplify regex, remove 'find_longest' param and add new tests 2024-02-02 01:23:39 +01:00
Mitchell Hashimoto
00661c13ab config: clarify some limitations 2024-01-31 10:20:37 -08:00
Qwerasd
ba16d65d02 macOS: Added titlebar tabs 2024-01-30 18:48:36 -05:00
Mitchell Hashimoto
06ff385e0c Merge pull request #1394 from em-dash/configure-scroll-speed
Configure scroll speed  #1378
2024-01-27 21:24:05 -08:00
Mitchell Hashimoto
5095c8f477 core: be explicit about float rounding for mouse scroll multiplier 2024-01-27 21:14:42 -08:00
Mitchell Hashimoto
f65989fd92 Merge pull request #1387 from mattrobenolt/cmd-click
Open links with Super+click
2024-01-27 21:04:51 -08:00
Mitchell Hashimoto
9beb395b12 config: update docs 2024-01-27 19:09:03 -08:00
Mitchell Hashimoto
3efe88c85c input: add link highlight always/hover w/ mods 2024-01-27 19:07:49 -08:00
Mitchell Hashimoto
ae11cc9042 add a new highlight state that requires modifiers 2024-01-27 19:03:03 -08:00
em-dash
890fd11fc1 Merge branch 'configure-scroll-speed' of github.com:em-dash/ghostty into configure-scroll-speed 2024-01-28 11:09:13 +11:00
em-dash
ce7ba52b12 Add mouse-scroll-multiplier config option 2024-01-28 11:08:41 +11:00
Selman Kayrancioglu
9348561bc7 config/url: exclude trailing single quotes 2024-01-27 21:59:37 +03:00
Matt Robenolt
5813488691 Update Config docs to suggest Super + hover is required for link activation 2024-01-26 20:56:34 -08:00
Mitchell Hashimoto
26c7215cf8 forgot commit to get #1363 building to new API 2024-01-26 09:04:32 -08:00
Mitchell Hashimoto
d50307c219 Merge pull request #1363 from jcollie/list-keybinds-docs
Add option to include docs when listing keybinds.
2024-01-26 09:02:49 -08:00
Mitchell Hashimoto
0ba3edaf3d very small style change 2024-01-26 09:01:27 -08:00
Armin Ronacher
6f82004183 Document that window padding changes need a restart 2024-01-26 00:09:16 +01:00
Mitchell Hashimoto
0f133ae4a7 config: re-expand relative paths correctly when reloading config
Fixes #1366

When we use `loadTheme`, we "replay" the configuration so that the theme
is the base configuration and everything else can override everything
the theme sets. During this process, we were not properly re-expanding
all the relative paths.

This fix works by changing our input tracking from solely tracking args
to tracking operations such as expansion as well. When we "replay" the
configuration we also replay operations such as path expansion with the
correct base path.

This also removes the `_inputs` special mechanism `cli/args.zig` had
because we can already do that ourselves using `parseManuallyHook`.
2024-01-23 21:59:34 -08:00
Jeffrey C. Ollie
d51b6d4799 Add option to include docs when listing keybinds. 2024-01-23 00:26:38 -06:00
LordMZTE
8182b69ae3 add increase_font_size keybind with plus 2024-01-22 16:15:03 +01:00
Jeffrey C. Ollie
510f270c54 markdown-ify help strings 2024-01-21 15:07:37 -06:00
Mitchell Hashimoto
64e3721bb7 config: formatter can output docs 2024-01-20 15:42:43 -08:00
Mitchell Hashimoto
daf297cee2 config: union type formatters 2024-01-20 15:35:16 -08:00
Mitchell Hashimoto
95a67e5f06 config: support only formatting changed fields 2024-01-20 15:24:17 -08:00
Mitchell Hashimoto
dbb808ae93 config: tests for formatEntry 2024-01-20 15:13:43 -08:00
Mitchell Hashimoto
2bf37843f3 config: tests for all custom formatEntry calls 2024-01-20 15:07:32 -08:00
Mitchell Hashimoto
32a1c6ec06 config: ability to format all field types except tagged unions 2024-01-20 14:41:49 -08:00
Mitchell Hashimoto
33c4c328b6 config: file formatter 2024-01-20 12:43:15 -08:00
Mitchell Hashimoto
33bc424d7e config: introduce wait-after-command 2024-01-17 08:40:21 -08:00
Atanas Pepechkov
ee1366a0a8 add sudo wrapper as optional shell integration feature 2024-01-13 18:56:21 +02:00
Mitchell Hashimoto
81b9a6b623 config: rename window-append-new-tab to window-new-tab-position 2024-01-12 09:50:47 -08:00
Thorsten Ball
2aa1874f94 gtk: append new tabs at the end if config is set
This adds a new config option: `window-append-new-tabs` (please: if you
have a better name, let me know). If this is set to true, then new GTK
tabs aren't added after the current tab, but after at the end.
2024-01-12 17:35:15 +01:00
Mitchell Hashimoto
5216b4cfe9 build: remove generate_rgb_names 2024-01-10 20:40:21 -08:00
Jeffrey C. Ollie
bc1544a3f0 add ability to specify RGB colors as names from the X11 rgb name list 2024-01-10 20:26:59 -08:00
Mitchell Hashimoto
507a55ba3f Merge pull request #1253 from jcollie/enquiry
implement enquiry/answerback
2024-01-10 09:29:10 -08:00