Commit graph

75 commits

Author SHA1 Message Date
Jeremy Soller
7c02b9cb57
Update dependencies 2024-06-12 09:50:07 -06:00
Jeremy Soller
4cec08875f
Merge branch 'master' of https://github.com/pop-os/cosmic-term 2024-04-26 10:27:52 -06:00
Daniel Eades
3ccfa4509d minor refactoring 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
76d166b266 prefer lossless conversion to cast (clippy::cast_lossless) 2024-04-26 10:12:44 -06:00
Daniel Eades
e3a0d8c6dd use dedicated method for iterating over map keys (clippy::for_kv_map) 2024-04-26 10:12:44 -06:00
daniel.eades
f8c23b2ef1 remove needless mut (clippy::needless_pass_by_ref_mut) 2024-04-26 10:12:44 -06:00
Daniel Eades
89174c5e0d use implicit iter loops (clippy::explicit_iter_loop) 2024-04-26 10:12:44 -06:00
Daniel Eades
de6f48a951 fixup 2024-04-26 10:12:44 -06:00
Daniel Eades
d3eb8d5ad0 use 'clamp' function (clippy::manual_clamp) 2024-04-26 10:12:44 -06:00
Daniel Eades
dcae0a4c2e use inline format args (clippy::uninlined_format_args) 2024-04-26 10:12:44 -06:00
Mattias Eriksson
1b9c815d64 Merge branch 'master' into primary 2024-04-12 13:06:59 +02:00
Jeremy Soller
770549e93b
Scroll with shift+home,end,pageup,pagedown 2024-04-08 08:44:32 -06:00
Mattias Eriksson
59a6a8a12e Merge branch 'master' into primary 2024-04-05 16:04:41 +02:00
Eduardo Flores
0ecbb15de3 refactor(menu): update menu declaration.
- Updated libcosmic.
- Updated menu declaration.
2024-03-18 20:47:58 -06:00
Mattias Eriksson
5b2bbe84cb Merge branch 'master' into primary 2024-02-21 09:26:09 +01:00
Mattias Eriksson
f6d696f7d6 Remove double key prevention
After rewrite to use Named keys, the double key prevention code
instead made Ctrl-Bakspace et al. to not work again. Now the
prevention code is not needed any more, so this patch removes it.
2024-02-20 09:46:21 -07:00
Mattias Eriksson
b8cbdb9760 Prevent bound keys from reaching the terminal 2024-02-17 07:14:56 -07:00
Jeremy Soller
72c97fd5fc
Support opacity 2024-02-12 12:36:30 -07:00
Jeremy Soller
4d16f1ded4
Fix home/end 2024-02-08 16:15:14 -07:00
Jeremy Soller
8b5a235129
Do not clone Key 2024-02-08 16:03:26 -07:00
Jeremy Soller
1c82463dfb
Fix space if it uses Named 2024-02-08 15:22:22 -07:00
Ashley Wulber
20beeb608a
chore: update libcosmic
keyboard input has changed a lot in iced, but I think I've made the proper adjustments here. vertical splits don't seem to work, but that didn't seem to work before either. Also, there is a black border on the right and bottom of the first tab of the terminal. I'm not sure why yet, but it seems like it is probably related to the scrollbar
2024-02-08 16:57:14 -05:00
Jeremy Soller
cc9368c2e6
Merge pull request #129 from snaggen/special_case_ctrl_keys
Add exceptions for certain keys to avoid double keys being sent
2024-02-08 13:54:56 -07:00
Jeremy Soller
bf7668dbd7
Use cosmic-text shape-run-cache 2024-02-08 12:03:53 -07:00
Mattias Eriksson
272e05744f Add exceptions for certain keys to avoid double keys being sent 2024-02-08 09:15:50 +01:00
Mattias Eriksson
cfbd391f12 Fix csi key codes 2024-02-07 18:31:34 +01:00
Mattias Eriksson
e5692cd902 Cleaner modifier calculation 2024-02-06 20:55:15 +01:00
Mattias Eriksson
44424c0108 Refactor key handling 2024-02-06 17:43:17 +01:00
Mattias Eriksson
da33dfc5c8 Support for Ctrl-_ 2024-02-05 09:11:59 -07:00
Mattias Eriksson
05ee3dca4a Clippy fixes 2024-02-05 09:09:23 -07:00
Mattias Eriksson
d38ac0a0f7 Merge branch 'master' into primary 2024-02-02 10:35:45 +01:00
Mattias Eriksson
e91bf807ec Improve SGR Scroll Wheel support 2024-01-31 09:33:18 -07:00
Mattias Eriksson
8d7d074933 Add support for Mouse Events 2024-01-31 06:34:55 -07:00
Mattias Eriksson
ff1ba5b12e Add Alt Backspace 2024-01-28 12:28:14 -07:00
Mattias Eriksson
f378bb5fdd Add alt key control characters 2024-01-22 13:10:01 -07:00
Mattias Eriksson
c749a02df8 Add Focus Follows Mouse 2024-01-22 09:00:08 -07:00
Mattias Eriksson
45dd5aa46e Move most of the logic to main 2024-01-21 21:13:13 +01:00
Mattias Eriksson
449803310b Use terminal.paste() for middle click paste also 2024-01-21 16:56:23 +01:00
Mattias Eriksson
204c666f91 Add support for Primary 2024-01-20 14:13:04 +01:00
Mattias Eriksson
8fabf94f03 Remove debug output 2024-01-18 09:08:20 +01:00
Mattias Eriksson
580e3d3985 fmt 2024-01-17 19:03:39 +01:00
Mattias Eriksson
3919f87a75 Add back simple shade to unfocused windows 2024-01-17 18:44:40 +01:00
Mattias Eriksson
945581f515 Shading the background didn't work as expected, so not using that 2024-01-17 17:08:26 +01:00
Mattias Eriksson
d3afe3f6bc Merge branch 'master_jammy' into split 2024-01-17 16:41:35 +01:00
Mattias Eriksson
1940f2c056 Support splitting of terminals using a Pane Grid 2024-01-17 16:09:56 +01:00
Mohammad AlSaleh
60b55a076d Support STRIKEOUT, UNDERCURL, and all underline styles
* Add `Metadata` struct to pass bg, underline_color, and flags info via
   metadata.
 * Keep and `IndexSet` of `Metadata` info in Terminal.
 * Use `Metadata` info to render STRIKEOUT, UNDERCURL, and all underline
   styles via `BgRect`.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2024-01-16 11:36:05 -07:00
Jeremy Soller
b38927364c
Clear terminal selection on escape 2024-01-11 14:37:18 -07:00
Jeremy Soller
ac4472e45e
Fix warnings 2024-01-11 14:32:11 -07:00
Jeremy Soller
928269a239
Add find stub 2024-01-11 13:20:16 -07:00