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
Igor Matuszewski
18d45bc88f
fix: report effective OSC 11 background
2026-06-26 09:44:58 -04:00
Igor Matuszewski
042c915990
feat: report focus in and out events
2026-06-25 14:06:02 +02:00
James Feister
18b4450c0f
fix: avoid re-reading system theme from disk on every menu bar render
2026-06-12 14:47:00 -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
Gene Wood
ee25528ad9
Set scrolling_history to 100,000
...
Relates to #684
2026-05-29 11:02:10 -07:00
Hojjat
67938814b6
fix: avoid unnecessary shape-until-cursor at start-up
2026-05-29 18:56:59 +02:00
Hojjat
02d977ac4d
fix: send the correct up/down code in APP_CURSOR mode
...
Fixes scrolling in `less`
2026-05-29 17:14:22 +02:00
Hojjat
124931faff
fix: do not drop scrolling events from smooth scrolling mice
2026-05-29 17:14:22 +02:00
Hojjat
3d8ca65b75
chore: support more named keys for keyboard shortcuts
2026-05-28 21:18:28 +02:00
Hojjat Abdollahi
f5cbed08d6
fix(libcosmic): fix item highlight in wayland context menu
2026-05-28 21:10:17 +02:00
Hojjat
91fd140ae3
feat: option to open new windows in the current directory
2026-05-27 23:58:24 -04:00
Ashley Wulber
512cc0d250
fix: libcosmic updates
2026-05-26 15:40:59 -04:00
Michael Murphy
3bd221e3e1
Revert "bound the event channel to prevent unbounded RSS growth"
2026-05-18 16:30:51 +02:00
Levi Portenier
cf059265f8
Merge pull request #753 from kenz-gelsoft/minimal-input-method-support
...
feat(ime): minimal IME support for the terminal_box widget
2026-05-15 08:08:10 -06:00
Jeremy Soller
691c21a48e
Merge pull request #806 from marshallhumble/mem-leak-hunting
...
bound the event channel to prevent unbounded RSS growth
2026-05-14 21:29:25 -06:00
Marshall Humble
ac436abac6
docs: explain backpressure rationale for PTY event channel in
2026-05-14 17:29:31 -05:00
Jacob Kauffmann
f16dc74a7a
chore: cargo fmt
2026-05-14 15:39:59 -06:00
Marshall Humble
21682acfae
bound the event channel to prevent unbounded RSS growth
2026-05-14 15:27:46 -06:00
Levi Portenier
77114d0320
Merge branch 'master' into jellywx/fix-pageup-pagedown-binds
2026-05-14 14:32:25 -06: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
Levi Portenier
f5e21f2c98
Merge branch 'master' into new-tab-current-dir-with-config
2026-04-27 16:15:19 -06:00
obeme-qq
f689040c9c
fix: change zoom reset scope to active tab
...
fixed inconsistencies with zoom. Added a separate function for resetting the zoom for the current tab, used it for the ctrl 0 shortcut.
2026-04-27 21:05:31 +03:00
Nicolas Danelon
f3af51df61
Merge branch 'master' into new-tab-current-dir-with-config
2026-04-27 12:37:40 +02:00
Nicolas Danelon
7051cc53f7
Restrict /proc cwd lookup to Linux
2026-04-24 17:49:59 +02: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
27e2d682a5
Cargo fmt
2026-04-10 19:06:54 +02:00
Chris Glass
a747b03c17
Bonus: reduce size of Message further
...
Turns out we can reduce the size of Message even further by also boxing
the Config variant.
The size of the Message enum has now dropped from 900+ bytes to 64
bytes.
2026-04-10 19:00:25 +02:00
Chris Glass
b654808734
Ingore clippy warnings about too many arguments
2026-04-10 18:40:26 +02:00
Chris Glass
eca9421e87
We don't need to match for only one case
...
Instead, let's use a simple if statement. If in the future we need to
care about other cases, we can introduce a match statement again.
2026-04-10 18:36:16 +02:00
Chris Glass
72a27129e3
Don't pass the large DialogMessage on the stack
...
Instead, since the size of DialogMessage is allocated in the Message
enum, pass it as a box, so that only the size of a pointer is allocated
on the stack instead.
2026-04-10 18:32:09 +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
1d86974682
fix: keep the url in state for menu actions and underline
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
467998433c
chore: cargo fmt
2026-04-09 12:47:22 -04:00
Hojjat
133c526acd
fix: dismiss context menu when clicking in any pane
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