Skip to content

Commit ae37e94

Browse files
Fix various typos.
1 parent b1cb8fa commit ae37e94

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

CHANGELOG

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ Fixes:
369369

370370
Fixes:
371371
- Fixed a race condition in `ThreadedHistory` that happens when continuously
372-
pasting input text (which would continously repopulate the history).
372+
pasting input text (which would continuously repopulate the history).
373373
- Move cursor key mode resetting (for vt100 terminals) to the renderer. (Mostly
374374
cleanup).
375375

@@ -451,7 +451,7 @@ Other changes:
451451

452452
Fixes:
453453
- Bugfix in shift-selection key bindings.
454-
- Fix hight calculation of `FormattedTextControl` when line wrapping is turned
454+
- Fix height calculation of `FormattedTextControl` when line wrapping is turned
455455
on.
456456
- Fixes for SSH server:
457457
* Missing encoding property.
@@ -615,7 +615,7 @@ Bug fixes:
615615
Bug fixes:
616616
- Fixes the issue where changes made to the buffer in the accept handler were
617617
not reflected in the history.
618-
- Fix in the application invalidate handler. This prevents a significat slow
618+
- Fix in the application invalidate handler. This prevents a significant slow
619619
down in some applications after some time (especially if there is a refresh
620620
interval).
621621
- Make `print_container` utility work if the input is not a pty.
@@ -882,7 +882,7 @@ Changes:
882882
of the content. `TokenListControl` (renamed to `FormattedTextControl`) does
883883
not have an alignment argument anymore.
884884
* All container objects, like `Window`, got a `style` argument. The style for
885-
parent containers propagate to child containers, but can be overriden.
885+
parent containers propagate to child containers, but can be overridden.
886886
This is in particular useful for setting a background color.
887887
* `FillControl` does not exist anymore. Use the `style` and `char` arguments
888888
of the `Window` class instead.

PROJECTS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Full screen applications:
4949
- `kubeterminal <https://github.com/samisalkosuo/kubeterminal>`_: Kubectl helper tool.
5050
- `pydoro <https://github.com/JaDogg/pydoro>`_: Pomodoro timer.
5151
- `sanctuary-zero <https://github.com/t0xic0der/sanctuary-zero>`_: A secure chatroom with zero logging and total transience.
52-
- `Hummingbot <https://github.com/CoinAlpha/hummingbot>`_: A Cryptocurrency Algorithimic Trading Platform
52+
- `Hummingbot <https://github.com/CoinAlpha/hummingbot>`_: A Cryptocurrency Algorithmic Trading Platform
5353
- `git-bbb <https://github.com/MrMino/git-bbb>`_: A `git blame` browser.
5454

5555
Libraries:

docs/pages/advanced_topics/styling.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,9 @@ There are four different levels of color depths available:
264264
+--------+-----------------+-----------------------------+---------------------------------+
265265

266266
By default, 256 colors are used, because this is what most terminals support
267-
these days. If the ``TERM`` enviroment variable is set to ``linux`` or
267+
these days. If the ``TERM`` environment variable is set to ``linux`` or
268268
``eterm-color``, then only ANSI colors are used, because of these terminals. The 24
269-
bit true color output needs to be enabled explicitely. When 4 bit color output
269+
bit true color output needs to be enabled explicitly. When 4 bit color output
270270
is chosen, all colors will be mapped to the closest ANSI color.
271271

272272
Setting the default color depth for any prompt_toolkit application can be done

docs/pages/advanced_topics/unit_testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ with `sys.stdin` and `sys.stdout`. In unit tests however, we want to replace
1717
these.
1818

1919
- For the input, we want a "pipe input". This is an input device, in which we
20-
can programatically send some input. It can be created with
20+
can programmatically send some input. It can be created with
2121
:func:`~prompt_toolkit.input.create_pipe_input`, and that return either a
2222
:class:`~prompt_toolkit.input.posix_pipe.PosixPipeInput` or a
2323
:class:`~prompt_toolkit.input.win32_pipe.Win32PipeInput` depending on the

docs/pages/upgrading/2.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ the completer in a :class:`~prompt_toolkit.completion.ThreadedCompleter`.
193193
Filters
194194
^^^^^^^
195195

196-
We don't distiguish anymore between `CLIFilter` and `SimpleFilter`, because the
196+
We don't distinguish anymore between `CLIFilter` and `SimpleFilter`, because the
197197
application object is no longer passed around. This means that all filters are
198198
a `Filter` from now on.
199199

examples/prompts/placeholder-text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
"""
3-
Example of a placeholer that's displayed as long as no input is given.
3+
Example of a placeholder that's displayed as long as no input is given.
44
"""
55
from prompt_toolkit import prompt
66
from prompt_toolkit.formatted_text import HTML

src/prompt_toolkit/filters/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151

5252
# NOTE: `has_focus` below should *not* be `memoized`. It can reference any user
53-
# control. For instance, if we would contiously create new
53+
# control. For instance, if we would continuously create new
5454
# `PromptSession` instances, then previous instances won't be released,
5555
# because this memoize (which caches results in the global scope) will
5656
# still refer to each instance.

tests/test_async_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def _sync_generator():
1212

1313
def test_generator_to_async_generator():
1414
"""
15-
Test conversion of sync to asycn generator.
15+
Test conversion of sync to async generator.
1616
This should run the synchronous parts in a background thread.
1717
"""
1818
async_gen = generator_to_async_generator(_sync_generator)

tests/test_widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def _to_text(button: Button) -> str:
1010
return fragment_list_to_text(control.text())
1111

1212

13-
def test_defaulf_button():
13+
def test_default_button():
1414
button = Button("Exit")
1515
assert _to_text(button) == "< Exit >"
1616

0 commit comments

Comments
 (0)