Skip to content

Commit

Permalink
Shell now autofills multiword strings properly
Browse files Browse the repository at this point in the history
  • Loading branch information
bill88t committed Dec 8, 2023
1 parent a4773ed commit ddfde09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/ljinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -1824,7 +1824,8 @@ def shell(led: bool = True, nalias: bool = False) -> int:
term.clear_line()
if lent > 1:
term.buf[1] = " ".join(
slicedd[:-1] + [candidates[0]]
slicedd[:-1]
+ [candidates[0].replace(" ", "\\ ")]
)
else:
term.buf[1] = candidates[0]
Expand Down

0 comments on commit ddfde09

Please sign in to comment.