Simplify tput detection
This commit is contained in:
parent
ee5f34e781
commit
a0b9bfd246
1 changed files with 1 additions and 6 deletions
|
@ -19,12 +19,7 @@ module Mutant
|
||||||
|
|
||||||
UNAVAILABLE = new(false, nil, nil)
|
UNAVAILABLE = new(false, nil, nil)
|
||||||
|
|
||||||
INSTANCE =
|
INSTANCE = clean ? new(true, reset + save, restore + clean) : UNAVAILABLE
|
||||||
if save && restore && clean
|
|
||||||
new(true, reset + save, restore + clean)
|
|
||||||
else
|
|
||||||
UNAVAILABLE
|
|
||||||
end
|
|
||||||
|
|
||||||
end # TPUT
|
end # TPUT
|
||||||
end # CLI
|
end # CLI
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue