Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastProject committed Mar 20, 2017
1 parent 2907914 commit ccf1964
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pext/helpers/pext_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ class Action(Enum):
prefill -- the text to already put into the input field
Example: self.q.put([Action.ask_input_multi_line, ["List your favourite animals", "Cat\nDog"]])
The prefill may contain newline characters.
Example: self.q.put([Action.ask_input_multi_line, ["List your favourite animals", "Cat and dog"]])
copy_to_clipboard
Copy data to the clipboard.
Expand All @@ -178,8 +180,7 @@ class Action(Enum):
The internal Pext selection contains a list of all options and commands
the user chose and typed since the last time the window was closed and
looks something like this:
[{type: SelectionType.entry, value: "Audio settings"},
{type: SelectionType.command, value: "volume 50"}].
[{type: SelectionType.entry, value: "Audio settings"}, {type: SelectionType.command, value: "volume 50"}].
To go a single level up, simply remove the last entry from this list.
To reset to the main screen, use an empty list.
Expand Down Expand Up @@ -226,12 +227,12 @@ class Action(Enum):
class SelectionType(Enum):
"""A list of possible selection types.
entry:
entry
An entry in the entry list was chosen.
command:
command
A valid command was typed (valid commands start with an entry in the
command list.
command list).
"""

entry = 0
Expand Down

0 comments on commit ccf1964

Please sign in to comment.