Skip to content

Commit bcfef22

Browse files
techtonikjonathanslenders
authored andcommitted
Fix markup for rendering_pipeline
1 parent 4c3ca92 commit bcfef22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/pages/advanced_topics/rendering_pipeline.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ are two difficulties:
4242
a key press, and we have to wait for the rest to arrive.
4343

4444
Both problems are implemented using state machines.
45+
4546
- The UTF-8 problem is solved using `codecs.getincrementaldecoder`, which is an
4647
object in which we can feed the incoming bytes, and it will only return the
4748
complete UTF-8 characters that we have so far. The rest is buffered for the
@@ -102,6 +103,7 @@ Rendering the user interface
102103
----------------------------
103104

104105
The rendering is pretty complex for several reasons:
106+
105107
- We have to compute the dimensions of all user interface elements. Sometimes
106108
they are given, but sometimes this requires calculating the size of
107109
:class:`~prompt_toolkit.layout.UIControl` objects.

0 commit comments

Comments
 (0)