cosmic-terminal/src
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
..
config.rs feat: allow configuring terminal pane borders 2026-07-27 15:58:51 -04:00
dnd.rs Support drag-and-drop for files 2024-08-19 21:23:27 -06:00
icon_cache.rs Implement key bind reset 2026-02-05 12:57:56 -07:00
key_bind.rs use code fallbacks (now in shortcuts.rs), not default config file 2026-01-12 21:40:07 -08:00
localize.rs chore: update to icu 2.0.0 2025-09-19 11:28:38 -06:00
main.rs feat: allow configuring terminal pane borders 2026-07-29 18:21:03 +02:00
menu.rs feat: blur 2026-07-06 09:28:54 -04:00
mouse_reporter.rs fix: do not drop scrolling events from smooth scrolling mice 2026-05-29 17:14:22 +02:00
password_manager.rs Cargo fmt 2026-04-10 19:06:54 +02:00
shortcuts.rs chore: support more named keys for keyboard shortcuts 2026-05-28 21:18:28 +02:00
terminal.rs fix: report effective OSC 11 background 2026-06-26 09:44:58 -04:00
terminal_box.rs fix: round subpixel coordinates for glyph background rectangles 2026-07-31 04:43:10 +02:00
terminal_theme.rs Update cosmic-text and remove palette dependency 2026-02-19 09:22:20 -07:00