Commit graph

302 commits

Author SHA1 Message Date
Ashley Wulber
56f1ea3eed fix: disable terminal box when context page is active 2025-10-24 17:56:10 -04:00
Mattias Eriksson
d486de067b Show the Open Link menu item at the top of the menu if we have a link 2025-10-21 22:59:36 +02:00
Mattias Eriksson
b308110f22 Avoid publishing on all mouse events 2025-10-17 10:07:42 +02:00
Mattias Eriksson
27e4d722bf Avoid updating the link highlight while the context menu is shown 2025-10-17 07:57:42 +02:00
Mattias Eriksson
e7e47d5bac Add context menu for opening links 2025-10-16 09:27:00 +02:00
Mattias Eriksson
71b9fb5226 Implement a simple password manager 2025-10-13 07:19:10 +02:00
Mattias Eriksson
71876b5fe2 Update regex based on ctrl modifier 2025-10-10 13:53:14 +02:00
Mattias Eriksson
244b1a3fad Only use mouse interaction pointer for links if CTRL is used 2025-10-10 10:36:10 +02:00
Ashley Wulber
e40b955f33 fix: opacity 2025-10-06 15:03:38 -04:00
Ashley Wulber
ffee3410e1 chore: add license url 2025-10-03 15:32:37 -04:00
Ashley Wulber
2428de7c7c
chore: update libcosmic 2025-10-03 14:56:47 -04:00
Mattias Eriksson
858b15cbca Hide opening hyperlinks behind the Ctrl modifier
Hiding hyperlinks behind ctrl is more in line with other terminals,
and this avoids opening link when selecting text and so on.
2025-09-26 14:58:10 +02:00
Vukašin Vojinović
42f566007f chore: update to icu 2.0.0 2025-09-19 11:28:38 -06:00
Vukašin Vojinović
f3ec16b9bd chore: update dependencies
Also switches to the `about` widget.
2025-09-11 08:34:15 -06:00
Vukašin Vojinović
58b8da4310 chore: Rust 2024 edition 2025-09-11 08:34:15 -06:00
Jeremy Soller
fbf508f763
Update dependencies 2025-09-07 19:21:39 -06:00
Cathal Mullan
555e1aeee5 Reduce minimum underline thickness from 2px to 1px 2025-08-13 16:14:55 -06:00
Ashley Wulber
50d4f7b58b chore: update libcosmic and handle input paste 2025-08-12 14:12:58 -04:00
Ashley Wulber
69c5dff3bb fix: keep shell program opt when checking 2025-08-08 00:22:45 -04:00
Thiago Padilha
c8a1dc9948 Add missing type cast to .take call
In my previous change, I did not cast to the `usize` type expected by `.take()`. This fixes it.
2025-07-19 07:09:09 -06:00
Thiago Padilha
7e124a265b Fix repeat/take arguments in mouse_reporter.rs
Fix 521
2025-07-18 07:19:00 -06:00
Jeremy Soller
52194a8ee6
Merge branch 'lazy_lock' of https://github.com/Doods0/cosmic-term into Doods0-lazy_lock 2025-07-17 10:20:55 -06:00
Doods
011543ef6e chore: stop depending on itertools 2025-07-17 10:18:05 -06:00
Doods
97027e69c3 chore: use LazyLock instead of lazy_static! 2025-07-13 15:50:37 +03:00
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