Commit graph

144 commits

Author SHA1 Message Date
Hojjat
69cdcbd1c1 fix: request a redraw if terminal needs to update 2026-08-05 14:03:29 -06:00
Connor-GH
7daf10e3b5 fix: round subpixel coordinates for glyph background rectangles
`cosmic-term` currently has an issue where borders appear to separate
some cells columnwise. This was caused due to the accumulation of
floating point error when using font sizes that can't be fully
represented in an f32. For example, a font size of 8.4x20 and a unique
color per cell is enough to reproduce this. Essentially, the glyph
background rectangles are being drawn slightly too narrow, causing the
terminal background to leak through. This patch rounds the rectangles in
such a way that we guarantee the drawing of that "border" pixel using
floor() and ceil().
2026-07-31 04:43:10 +02:00
Nitin Gurram
6bf0c65ca9
feat: allow configuring terminal pane borders 2026-07-29 18:21:03 +02:00
Ben Gubler
5db18f3fac feat: allow configuring terminal pane borders 2026-07-27 15:58:51 -04:00
RipleyTom
44d042f45d fix: only PaneClicked events change focus 2026-07-14 13:32:02 -06:00
Jeremy Soller
a43b5ae500 Remove background shading when not focused 2026-07-09 14:32:41 -06:00
Ashley Wulber
6bd07a6363 feat: blur 2026-07-06 09:28:54 -04:00
Frederic Laing
1e49511fcf fix: accumulate fractional wheel-line scroll deltas 2026-06-30 17:20:17 -06:00
Ryan Northey
b5dca36359 keybindings: Fix terminal undo
Signed-off-by: Ryan Northey <ryan@synca.io>
2026-06-01 20:16:33 +01:00
Hojjat
124931faff fix: do not drop scrolling events from smooth scrolling mice 2026-05-29 17:14:22 +02:00
Hojjat Abdollahi
f5cbed08d6
fix(libcosmic): fix item highlight in wayland context menu 2026-05-28 21:10:17 +02:00
Ashley Wulber
512cc0d250 fix: libcosmic updates 2026-05-26 15:40:59 -04:00
KENZ
d413fdb593 fix: clippy lint 2026-05-11 23:49:42 +09:00
KENZ
1963929e05 fix: context menu by disabling IME when the widget has context menu 2026-05-11 23:49:42 +09:00
KENZ
c22d1ccc28 fix: menu doesn't show by unfocusing when clicking outside of the terminal_box 2026-05-11 23:49:42 +09:00
KENZ
768ee43d5a Specify the line height to the IME cursor height 2026-05-11 23:49:42 +09:00
KENZ
888b1b5f6b Handle wide character widths by using glyph width to detect wide chars 2026-05-11 23:49:42 +09:00
KENZ
da57b9c12d Estimate preedit position without calling layout_runs() 2026-05-11 23:49:42 +09:00
KENZ
18462517f0 Add minimal support CJK input method to terminal box excepts IME cursor positioning which is a bit tricky 2026-05-11 23:49:42 +09:00
KENZ
e37f73dcbb fix: don't capture all mouse events
- this fixed find panel buttons
- similar fix for cosmic-edit of:
  -
    6ea24b8518
2026-04-16 01:03:19 +09:00
Chris Glass
b654808734 Ingore clippy warnings about too many arguments 2026-04-10 18:40:26 +02:00
Chris Glass
f50ece41eb Fix all auto-fix from clippy 2026-04-10 18:09:25 +02:00
Hojjat
c8b18c2827 chore: update to the latest libcosmic
applies iced re-export changes
2026-04-09 12:47:22 -04:00
Hojjat
8b95675c9b fix: gate wayland features and add inline popover fallback 2026-04-09 12:47:22 -04:00
Hojjat
0b1490e7ff fix: use window-absolute coordinates for context menu position in split panes 2026-04-09 12:47:22 -04:00
Hojjat
8ae5918ccd fix: fix the one pixel wide gap between panes 2026-03-27 16:43:45 -04:00
Hojjat
9ed56eb2db fix: prevent crash when splits are resized too small 2026-03-24 10:32:19 -06:00
Hojjat
1428345cad fix: only send "space" to the focused pane 2026-03-19 11:44:06 -06:00
Ashley Wulber
f62abcea4e
feat: rebase libcosmic onto iced 0.14 2026-03-18 17:21:57 +01:00
Jeremy Soller
1564a77e5f Shortcut design updates and fix escape behavior 2026-02-05 10:34:58 -07:00
Levi Portenier
974ca4ecc6
Merge branch 'master' into configurable-hotkeys 2026-02-04 11:31:16 -07:00
Frederic Laing
1db6692925
fix: hide cursor when scrolled in unfocused terminal 2026-01-16 17:49:10 +01:00
Jeremy Soller
55b3cb93b3 Fix ctrl hyperlink highlighting when using splits, fixes #688 2026-01-12 16:04:58 -05:00
Jeremy Soller
dae3e28ff4
Merge pull request #676 from nick1udwig/handle-osc-8-links
handle osc 8 links
2026-01-06 06:13:13 -07:00
nludwig
3b33087086 handle osc 8 links 2025-12-30 13:51:27 -08:00
nludwig
bf71e1a774 make hotkeys configurable 2025-12-29 20:42:52 -08:00
nludwig
4983e05f01 hold shift and click to add to selection 2025-12-23 16:12:52 -08:00
Stephan Buys
4922c7f07b terminal: sustain drag autoscroll 2025-11-10 10:39:28 -07:00
Stephan Buys
c829fb24d0 terminal: smooth drag edge scrolling 2025-11-10 10:39:28 -07:00
Ashley Wulber
56f1ea3eed fix: disable terminal box when context page is active 2025-10-24 17:56:10 -04: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
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
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ć
58b8da4310 chore: Rust 2024 edition 2025-09-11 08:34:15 -06:00
Cathal Mullan
555e1aeee5 Reduce minimum underline thickness from 2px to 1px 2025-08-13 16:14:55 -06:00
liberodark
f570b4089c Improve wheel mode 2025-06-19 15:13:47 -06:00