Skip to content

Tweak Terminal formatting so lists render correctly. #10492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 25 additions & 10 deletions shared-bindings/terminalio/Terminal.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,18 @@
//| """Display a character stream with a TileGrid
//|
//| ASCII control:
//|
//| * ``\\r`` - Move cursor to column 1
//| * ``\\n`` - Move cursor down a row
//| * ``\\b`` - Move cursor left one if possible
//|
//| OSC control sequences:
//|
//| * ``ESC ] 0; <s> ESC \\`` - Set title bar to <s>
//| * ``ESC ] ####; <s> ESC \\`` - Ignored
//|
//| VT100 control sequences:
//|
//| * ``ESC [ K`` - Clear the remainder of the line
//| * ``ESC [ 0 K`` - Clear the remainder of the line
//| * ``ESC [ 1 K`` - Clear start of the line to cursor
Expand All @@ -50,16 +53,28 @@
//| * ``ESC [ ## ; ## ; ## m`` - Set the terminal display attributes.
//|
//| Supported Display attributes:
//| 0 - Reset all attributes
//| Foreground Colors Background Colors
//| 30 - Black 40 - Black
//| 31 - Red 41 - Red
//| 32 - Green 42 - Green
//| 33 - Yellow 43 - Yellow
//| 34 - Blue 44 - Blue
//| 35 - Magenta 45 - Magenta
//| 36 - Cyan 46 - Cyan
//| 37 - White 47 - White
//|
//| +--------+------------+------------+
//| | Color | Foreground | Background |
//| +========+============+============+
//| | Reset | 0 | 0 |
//| +--------+------------+------------+
//| | Black | 30 | 40 |
//| +--------+------------+------------+
//| | Red | 31 | 41 |
//| +--------+------------+------------+
//| | Green | 32 | 42 |
//| +--------+------------+------------+
//| | Yellow | 33 | 43 |
//| +--------+------------+------------+
//| | Blue | 34 | 44 |
//| +--------+------------+------------+
//| | Magenta| 35 | 45 |
//| +--------+------------+------------+
//| | Cyan | 36 | 46 |
//| +--------+------------+------------+
//| | White | 37 | 47 |
//| +--------+------------+------------+
//| """
//|
//| def __init__(
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy