Compare commits

...

3 Commits

Author SHA1 Message Date
Alexander eb561796a8
Merge 1007e0c3df into 4281228da3 2025-07-24 18:09:42 +01:00
Valtteri Koskivuori 4281228da3
fix(queries): Fix filesystem permissions for snakemake (#14061) 2025-07-24 13:09:40 -04:00
Alexander Shirokov 1007e0c3df
helix-term:fix crash on unwrap graphemes
This change replaces a direct unwrap with a map. If the optional value
is missing, a default is used.

The issue was discovered accidentally while porting the Helix editor to
an ARM-based platform and running it in QEMU.
2025-07-23 14:33:50 +02:00
7 changed files with 2 additions and 2 deletions

View File

@ -779,8 +779,8 @@ impl Component for Prompt {
col += self.line[self.cursor..]
.graphemes(true)
.next()
.unwrap()
.width();
.map(|g| g.width())
.unwrap_or(0);
}
let line = area.height as usize - 1;

0
runtime/queries/snakemake/LICENSE 100755 → 100644
View File

View File

View File

View File

View File

View File