Porting 'ansi gradient' command from nushell to engine-q (#509)

* Porting  'ansi gradient' command from nushell to engine-q

* passed correct span variable
This commit is contained in:
Matthew Auld
2021-12-17 12:40:47 -05:00
committed by GitHub
parent 6a0f404558
commit 438c2df8b6
4 changed files with 322 additions and 3 deletions

View File

@ -132,8 +132,7 @@ pub fn create_default_context() -> EngineState {
StrStartsWith,
StrSubstring,
StrTrim,
StrUpcase,
Ansi
StrUpcase
};
// FileSystem
@ -149,6 +148,8 @@ pub fn create_default_context() -> EngineState {
// Platform
bind_command! {
Ansi,
AnsiGradient,
Clear,
Kill,
Sleep,