mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 13:01:21 -03:00
Fix crash in string pad
Try:
string pad -w 8 he \eh
This commit is contained in:
@@ -713,3 +713,8 @@ end
|
||||
|
||||
string escape \x7F
|
||||
# CHECK: \x7f
|
||||
|
||||
# This used to crash.
|
||||
string pad -w 8 he \eh
|
||||
# CHECK: he
|
||||
# CHECK: {{\x1bh}}
|
||||
|
||||
Reference in New Issue
Block a user