Commit graph

250 commits

Author SHA1 Message Date
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
Ashley Wulber
61a5960c70
fix: update libcosmic and use load configured theme instead of defaults 2024-05-30 13:59:14 -04:00
Jeremy Soller
634a24717f
Merge pull request #160 from sixpounder/master
Add command line argument to allow a no-fork mode
2024-05-29 21:44:43 -06:00
Jeremy Soller
bcd5e31d6c
Update libcosmic 2024-05-20 14:12:21 -06:00
Jeremy Soller
7f5a5b4bf0
Update dependencies 2024-05-14 13:15:02 -06:00
Rajas Paranjpe
b7b3e942fa Add CopyOrSigint shortcut for Ctrl+C 2024-05-14 10:57:32 -06:00
Andrea Coronese
3ce7bd56ca
Merge branch 'master' into master 2024-05-01 23:46:30 +02:00
Jeremy Soller
d7869dcc44
Update dependencies 2024-05-01 12:16:49 -06:00
Jeremy Soller
4cec08875f
Merge branch 'master' of https://github.com/pop-os/cosmic-term 2024-04-26 10:27:52 -06:00
Jeremy Soller
f720e63793
Update libcosmic 2024-04-26 10:24:07 -06:00
Jeremy Soller
1047004a6d
Merge branch 'primary' of https://github.com/snaggen/cosmic-term into snaggen-primary 2024-04-26 10:13:35 -06:00
Daniel Eades
3ccfa4509d minor refactoring 2024-04-26 10:12:44 -06:00
Daniel Eades
5f0a0ba726 remove unused 'self' (clippy::unused_self) 2024-04-26 10:12:44 -06:00
Daniel Eades
1b53309d63 use 'Self' keyword to refer to own type (clippy::use_self) 2024-04-26 10:12:44 -06:00
Daniel Eades
1eb1bd4caa minor refactoring 2024-04-26 10:12:44 -06:00
Daniel Eades
cfa0087128 remove no-op if statement (clippy::needless_if) 2024-04-26 10:12:44 -06:00
Daniel Eades
9544ba9397 remove needless borrows (clippy::needless_borrows_for_generic_args) 2024-04-26 10:12:44 -06:00
Daniel Eades
ec5c2a1991 flip boolean block (clippy::if_not_else) 2024-04-26 10:12:44 -06:00
Daniel Eades
34cf7bf76a use 'let/else' syntax (clippy::manual_let_else) 2024-04-26 10:12:44 -06:00