Cargo Features
[dependencies]
oursh = { version = "0.4.4", default-features = false, features = ["shebang-block", "raw"] }
- default = raw, shebang-block
-
These default features are set whenever
oursh
is added without
somewhere in the dependency tree.default-features = false - shebang-block default
-
TODO: Justify and explain features.
Enables lexing of TEXT tokens, and parsing of
SheBang
,HashLang
,AltLang
blocks. Without this feature, the POSIX shell aims not to vary from a proper POSIX implementation at all. - raw default
-
Raw terminal mode for better control of the IO interactions. This allows things like arrow keys for history, and cursor editing.
Affects
action::ActionContext.prompt_length
,action::ActionContext.text
,repl::action
…