From 4c9c9ab88cec6b8c9364917564484d9170a55b3c Mon Sep 17 00:00:00 2001 From: garhve Date: Sat, 10 Dec 2022 08:59:16 +0800 Subject: change blog content and add font --- posts/5/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'posts/5/index.html') diff --git a/posts/5/index.html b/posts/5/index.html index b66075b..ee99aa3 100644 --- a/posts/5/index.html +++ b/posts/5/index.html @@ -140,7 +140,7 @@ Arguments are delimeted by semi colon (;)." />

Followed by the command, somtimes delimited by opening square bracket ([), known as a Control Sequence Introducer (CSI), optionally followed by arguments and the command itself.

Arguments are delimeted by semi colon (;).

For example:

-
\x1b[1;31m  # Set style to bold, red foreground.
+
\x1b[1;31m  # Set style to bold, red foreground.
 

Sequences

  • ESC - sequence starting with ESC (\x1B)
  • @@ -513,7 +513,7 @@ Arguments are delimeted by semi colon (;)." />

    Note: the Reset color is the reset code that resets all colors and text effects, Use Default color to reset colors only.

    Most terminals, apart from the basic set of 8 colors, also support the “bright” or “bold” colors. These have their own set of codes, mirroring the normal colors, but with an additional ;1 in their codes:

    -
    # Set style to bold, red foreground.
    +
    # Set style to bold, red foreground.
     \x1b[1;31mHello
     # Set style to dimmed white foreground with red background.
     \x1b[2;37;41mWorld
    @@ -740,7 +740,7 @@ Arguments are delimeted by semi colon (;)." />
     

    Note: While these modes may be supported by the most terminals, some may not work in multiplexers like tmux.

    Keyboard Strings

    -
    ESC[{code};{string};{...}p
    +
    ESC[{code};{string};{...}p
     

    Redefines a keyboard key to a specified string.

    The parameters for this escape sequence are defined as follows:

      -- cgit v1.2.3-70-g09d2