Commit graph

278 commits

Author SHA1 Message Date
Jeremy Soller
7968e1c720
Fix compilation with new cosmic-files dialog API 2025-07-01 09:41:36 -06:00
liberodark
a90e55f1f0 Add F11 support 2025-06-30 17:51:16 +00:00
Jeremy Soller
cf9c0c51ae
Adjust shortcut text style 2025-06-27 11:44:40 -06:00
Hugo
4a41aa1d86 Support ClI argument for Version and Help 2025-06-24 09:58:55 -06:00
Jeremy Soller
d1dc537c7b Update libcosmic and use system_theme_update 2025-06-23 11:40:43 -06:00
liberodark
f570b4089c Improve wheel mode 2025-06-19 15:13:47 -06:00
Mark Stosberg
aa9d693dad feat: bind copy/paste keycodes to copy/paste actions.
Required updating macro to support keycodes without modifiers.
2025-05-08 11:48:44 -06:00
Jeremy Soller
db9234cdee Revert "Add support for XF86Copy and XF86Paste keybindings"
This reverts commit 60b2326a2c.
2025-05-05 16:00:28 -06:00
Mark Stosberg
60b2326a2c Add support for XF86Copy and XF86Paste keybindings
Keyboards with custom firmware that support dedicated "Copy" and "Paste" keycodes are more common now.

These keycodes solve a pain point with terminals: that you have to use Control+Shift+C/V to paste into the terminal, but Control+C/V everywhere else.

The dedicated Copy/Paste keycodes solve this problem by allowing you to use the same key combo in all apps that support it.

This patch supports the additional bindings by default while leaving the existing keybindings untouched.
2025-05-04 20:42:03 -06:00
Ashley Wulber
97f87809b9 feat: responsive menu bar 2025-04-15 18:04:55 -06:00
Dominic Gerhauser
623645c829 Initialize the logger at the start of main.
"Any log events that occur before initialization will be ignored."
https://docs.rs/env_logger/latest/env_logger/struct.Builder.html#method.init
2025-04-10 19:39:22 -06:00
Dominic Gerhauser
e7b0b87259 simplify argument parsing 2025-04-08 09:54:32 -06:00
Jeremy Soller
d3b9ac6c75
Update dependencies 2025-03-31 09:27:28 -06:00
Ashley Wulber
a4dd9ab142 chore: update libcosmic 2025-03-19 17:44:47 +00:00
Jeremy Soller
91f252c882
Clear selection on Ctrl+C, part of #236 2025-03-13 15:05:59 -06:00
Vukašin Vojinović
fe21878169 update libcosmic 2025-03-13 13:30:23 -06:00
Jeremy Soller
b05076be65 Update default font 2025-02-20 11:14:31 -07:00
Mattias Eriksson
23a5851ca9 Use hollow block cursor for non-focused terminals 2025-01-23 11:51:38 -07:00
Paul Daniel Faria
25845183f1 Fix broken numlock behavior
libcosmic broke backwards compatibility in pop-os/libcosmic@0491c4b
Add comparison with modified_key to ensure only actual named keys
are processed as such.
2025-01-14 08:56:39 -07:00
Samuel Abreu
0f2ef69dfe Fix Ctrl+Shift+# keybinds to jump to nth tab
Test it on different machines with Fedora and PopOS, in both only work
with this changes.
2025-01-14 08:56:11 -07:00
Dominic Gerhauser
75e1082260 Apply post processing to hyperlink. So less regexs with unlikely trailing characters are matches 2024-12-22 07:34:52 -07:00
Dominic Gerhauser
ff42dd2a97 regex hyperlinks 2024-12-18 09:26:59 -07:00
Vukašin Vojinović
77be96e1c2 update libcosmic 2024-12-03 15:08:56 -07:00
Jonatan Pettersson
fda0850b3b Allow startup options to supercede profile 2024-11-18 11:53:25 -07:00
Jeremy Soller
353bbbee37
Do not use repeat_n as it was introduced in 1.82 2024-11-11 11:31:32 -07:00
Arthur Cosentino
1743730fd9 Accumulate mouse scrolls for smoother scrolling 2024-11-09 07:03:59 -07:00
Vukašin Vojinović
20d5290145 fix(window): round corners based on header 2024-11-06 14:32:53 -07:00
Vukašin Vojinović
a432f714de fix(context menu): use radius from theme 2024-11-05 09:22:59 -07:00
Jeremy Soller
eba2eb38b7
Use unbounded channel to prevent deadlock 2024-10-29 18:19:23 -06:00
Jeremy Soller
8d4bfb992e
Update libcosmic/iced 2024-10-22 12:31:02 -06:00
Eduard
aa1824d309 fix: dead keys support 2024-10-07 08:53:00 -06:00
Jeremy Soller
73394f8649
Update dependencies 2024-09-27 09:37:24 -06:00
hendrik
7e31cef391 fix control + space support 2024-09-25 08:40:06 -06:00
Vukašin Vojinović
98df25736a fix(header): fixed new tab button padding
This matches the new tab button to other header bar buttons, and prevents visual issues with non-default interface densities.
2024-09-24 06:42:22 -06:00
Jeremy Soller
60c890d2bd
Update dependencies 2024-09-20 19:44:36 -06:00
Joel Höner
4beabca14d Add "Clear scrollback" action 2024-09-19 17:21:42 -06:00
Mohammad AlSaleh
3f10b729dd Early exit if no monospace fonts were found
This also provides a helpful log error message and avoids triggering a
 later panic as reported in #323.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2024-09-03 08:38:56 -06:00
A-Walrus
ad36c0c01b Fix regression with hidden cursors 2024-09-03 08:37:40 -06:00
l-const
b369af826b Change the default hold value when creating new profile as it creates issues. #284 2024-08-26 08:42:48 -06:00
A-Walrus
19e083b5d0 Add colors 2024-08-26 08:42:18 -06:00
A-Walrus
4d61bb6def Fill in cursor support
Also added underline
2024-08-26 08:42:18 -06:00
A-Walrus
59d32c32ce Initial cursor shapes 2024-08-26 08:42:18 -06:00
A-Walrus
c11f6d1272 Fix nits 2024-08-22 11:37:05 -06:00
A-Walrus
0c0b0e1a76 Fix issues 2024-08-22 11:37:05 -06:00
A-Walrus
72355aa935 Rework and unify repeated drawing 2024-08-22 11:37:05 -06:00
A-Walrus
884670ca04 Make underlines stable 2024-08-22 11:37:05 -06:00
l-const
023aedee65 Zoom per tab/pane & not writing config to fs when zooming - perf improvement. 2024-08-20 12:15:09 -06:00
Jeremy Soller
c4cb09f183
Efficiently set config, fixes #227 2024-08-20 07:26:46 -06:00
Jason Rodney Hansen
059dd5fa97 Support drag-and-drop for files
Insert file paths when files are dropped in terminal from a file manager.
2024-08-19 21:23:27 -06:00
Mohammad AlSaleh
b4954196ed Only update default colors when needed, and update() when it's done
With commit 7c5d5440e5, it became
 possible that `update_colors()` may run without being immediately
 followed by an `update()`. But `update_colors()` creates a new
 `metadata_set`, which means `attr_list` may now contain out-of-date
 metadata indices to the old cleared `metadata_set`.

 With this commit:
 * A `metadata_set` is only cleared and recreated in `update_colors()`
   if default colors have actually changed.
 * A `bool` is returned and set it to `true` from `update_colors()` if
   a color update happened.
 * An `update()` is run if we get a `true` from `update_colors()`.
 * And finally, `update_colors()` is renamed to
   `update_default_colors()`.

 Fixes #291.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2024-08-16 19:17:31 -06:00