Add WithUsageOfEscapeCodes option
This commit is contained in:
parent
faaa13fb2c
commit
1a4d39fd1d
|
@ -13,3 +13,9 @@ func WithCustomBackKey(back string) SimpleMenuOption {
|
||||||
conf.BackKey = back
|
conf.BackKey = back
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func WithUsageOfEscapeCodes() SimpleMenuOption {
|
||||||
|
return func(conf *MenuConfig) {
|
||||||
|
conf.UsingEscapeCodes = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user