fix(utils): handle edge case in display_width for empty strings
Swadhin Biswas committed 7 months ago
cd259ed
1 parent 4c556c2
commit cd259ed
1 file changed
+1 -0
Showing 1 changed file+1-0
▼src/utils/mod.rs
+1-0
| @@ -295,3 +295,4 @@ mod tests { | ||
295 | 295 | assert!(!command_exists("nonexistent_command_12345")); |
296 | 296 | } |
297 | 297 | } |
298 | +// fix: handle empty strings | |
298 | 299 | |