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)
|
||||
|
||||
INSTANCE =
|
||||
if save && restore && clean
|
||||
new(true, reset + save, restore + clean)
|
||||
else
|
||||
UNAVAILABLE
|
||||
end
|
||||
INSTANCE = clean ? new(true, reset + save, restore + clean) : UNAVAILABLE
|
||||
|
||||
end # TPUT
|
||||
end # CLI
|
||||
|
|
Loading…
Reference in a new issue