Skip to content

Commit cd63e8a

Browse files
committed
Removed trailing whitespaces.
1 parent 296e48d commit cd63e8a

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

examples/full-screen/simple-demos/line-prefixes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
def get_line_prefix(lineno, wrap_count):
3535
if wrap_count == 0:
3636
return HTML(f'[{lineno}] <style bg="orange" fg="black">--&gt;</style> ')
37-
3837
text = str(lineno) + "-" + "*" * (lineno // 2) + ": "
3938
return HTML(f'[{lineno}.{wrap_count}] <style bg="ansigreen" fg="ansiblack">{text}</style>')
4039

examples/prompts/auto-completion/colored-completions-with-formatted-text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def get_completions(self, document, complete_event):
102102
+ f">{family}</"
103103
+ family_color
104104
+ ">)</ansired>"
105-
)
105+
)
106106
else:
107107
display = animal
108108

examples/prompts/fancy-zsh-prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def get_prompt() -> HTML:
6565
total_width = get_app().output.get_size().columns
6666
padding_size = total_width - used_width
6767

68-
padding = HTML(f"<padding>{" " * padding_size}</padding>")
68+
padding = HTML(f"<padding>{" " * padding_size}</padding>")
6969

7070
return merge_formatted_text([left_part, padding, right_part, "\n", "# "])
7171

0 commit comments

Comments
 (0)