Commit graph

368 commits

Author SHA1 Message Date
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
Dominic Gerhauser
b3971499ac fix ctrl or alt + arrows 2024-08-15 07:56:27 -06:00
Josh Megnauth
397b527fbd fix: Launch with invalid default profile fails
Closes: #274
2024-08-13 09:15:49 -06:00
Josh Megnauth
3caea33288 Replace unmaintained lexical-sort with ICU 2024-07-15 08:08:01 -06:00
Jeremy Soller
a734205d6e
Merge pull request #234 from snaggen/color_cursor
Cursor color from request or color theme
2024-07-08 08:33:47 -06:00
Kartonrealista
4e6086e2b0
Update key_bind.rs 2024-07-06 12:02:31 +02:00
Mattias Eriksson
824737f4e6 Use cursor color from theme 2024-06-27 10:30:31 +02:00
Mattias Eriksson
a33bdd1277 Use requested terminal cursor color 2024-06-27 09:06:31 +02:00
Jeremy Soller
7c02b9cb57
Update dependencies 2024-06-12 09:50:07 -06:00
Jeremy Soller
c0d1ab1fb8
Include builtin cosmic dark and light theme in color schemes list, fixes #206 2024-06-05 08:51:26 -06:00
Jeremy Soller
15a4740634
Merge pull request #213 from pop-os/fix-theme
fix: update libcosmic and load configured theme instead of defaults
2024-05-30 12:13:36 -06:00