forked from extern/nushell
# Description Relative: #8113, #7630 It works on non-windows system This pr depends on https://github.com/nushell/reedline/pull/571
# Description Relative: #8113, #7630 It works on non-windows system This pr depends on https://github.com/nushell/reedline/pull/571