mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-18 01:08:22 +00:00
style(macos): cleanup trailing spaces
This commit is contained in:
@@ -2,7 +2,7 @@ extension Ghostty {
|
||||
struct Shell {
|
||||
// Characters to escape in the shell.
|
||||
static let escapeCharacters = "\\ ()[]{}<>\"'`!#$&;|*?\t"
|
||||
|
||||
|
||||
/// Escape shell-sensitive characters in string.
|
||||
static func escape(_ str: String) -> String {
|
||||
var result = str
|
||||
@@ -12,7 +12,7 @@ extension Ghostty {
|
||||
with: "\\\(char)"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user