mirror of
https://github.com/Polynominal/Piefiller.git
synced 2024-11-12 11:14:21 +00:00
Update README.md
This commit is contained in:
parent
827f9349ab
commit
aed4228649
18
README.md
18
README.md
@ -48,11 +48,25 @@ c = hides/shows hidden processes
|
|||||||
|
|
||||||
p = saves to file called "Profile" and opens directory for you
|
p = saves to file called "Profile" and opens directory for you
|
||||||
## To redefine these:
|
## To redefine these:
|
||||||
|
Modes available:
|
||||||
|
```lua
|
||||||
|
reset
|
||||||
|
increase_depth
|
||||||
|
decrease_depth
|
||||||
|
increase_step_size
|
||||||
|
decrease_step_size
|
||||||
|
shorten_names
|
||||||
|
show_hidden
|
||||||
|
save_to_file
|
||||||
|
```
|
||||||
To redefine only one of the keys:
|
To redefine only one of the keys:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
piefiller:setKey(mode,key)
|
piefiller:setKey(mode,key)
|
||||||
```
|
```
|
||||||
|
|
||||||
example:
|
example:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
piefiller:setKey("increase_depth","up")
|
piefiller:setKey("increase_depth","up")
|
||||||
```
|
```
|
||||||
@ -68,8 +82,9 @@ To redefine all of the keys:
|
|||||||
# For your own interpretation
|
# For your own interpretation
|
||||||
If you wish to interpret the data on your own use piefiller:unpack().
|
If you wish to interpret the data on your own use piefiller:unpack().
|
||||||
Output is a table as such:
|
Output is a table as such:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
local data = {
|
data = {
|
||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
name,
|
name,
|
||||||
@ -88,6 +103,7 @@ To redefine all of the keys:
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
# Additional notes
|
# Additional notes
|
||||||
The best depth to search for is 2 and 3.
|
The best depth to search for is 2 and 3.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user