Files
ServerSync/lib/pygments/formatters/__pycache__/terminal.cpython-314.pyc

58 lines
5.8 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
<00> <0C>i<00><00><><00>Rt^RIHt^RIHtHtHtHtHtH t H
t
H t H t H t ^RIHt^RIHtR.t/] Rb] R b]R b]P&R
b]R b]P(R
b]
P*R b]P,R
b]P.R b]P0Rb]P2Rb]P4R
b]P6Rb]P8Rb]P:Rb]P<R
b]P>Rb]R] R ] P@R] PBR ] PDR] PFR] PHR] PR]R/ Ct%!RR]4t&R#)z<>
pygments.formatters.terminal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Formatter for terminal output with ANSI sequences.
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
)<01> Formatter)
<EFBFBD>Keyword<72>Name<6D>Comment<6E>String<6E>Error<6F>Number<65>Operator<6F>Generic<69>Token<65>
Whitespace)<01>
ansiformat)<01>get_choice_opt<70>TerminalFormatterc<00>Ra<00>]tRt^8toRtRtRR.t.tRtRt Rt
Rt R t R
t VtR #) ra<>
Format tokens with ANSI color sequences, for output in a text console.
Color sequences are terminated at newlines, so that paging the output
works correctly.
The `get_style_defs()` method doesn't do anything special since there is
no support for common styles.
Options accepted:
`bg`
Set to ``"light"`` or ``"dark"`` depending on the terminal's background
(default: ``"light"``).
`colorscheme`
A dictionary mapping token types to (lightbg, darkbg) color names or
``None`` (default: ``None`` = use builtin colorscheme).
`linenos`
Set to ``True`` to have line numbers on the terminal output as well
(default: ``False`` = no line numbers).
<EFBFBD>Terminal<61>terminal<61>consolec <08><><00>\P!V3/VB\VRRR.R4R8HVnVP RR4;'g\
VnVP RR4Vn^VnR#)<07>bg<62>light<68>dark<72> colorschemeN<65>linenosF) r<00>__init__r<00>darkbg<62>get<65>TERMINAL_COLORSrr<00>_lineno)<02>self<6C>optionss&,<2C>C/tmp/pip-target-qd_sq_1j/lib/python/pygments/formatters/terminal.pyr<00>TerminalFormatter.__init__Ssm<00><00><11><1A><1A>4<EFBFBD>+<2B>7<EFBFBD>+<2B>$<24>W<EFBFBD>d<EFBFBD>&-<2D>v<EFBFBD>%6<><07>A<01>DJ<44>K<01><04> <0B>"<22>;<3B>;<3B>}<7D>d<EFBFBD>;<3B>N<>N<><EFBFBD><04><18><1E>{<7B>{<7B>9<EFBFBD>e<EFBFBD>4<><04> <0C><18><04> <0C>c<08>0<00>\P!WV4#<00>N)r<00>format)r<00> tokensource<63>outfiles&&&r!r&<00>TerminalFormatter.format[s<00><00><18><1F><1F><04>7<EFBFBD>;<3B>;r#c<08><><00>V;P^, unTPRVP^8g;'d R;'gRVP3,4R#)<05>z%s%04d: <20>
<EFBFBD>N)r<00>write)rr(s&&r!<00> _write_lineno<6E>TerminalFormatter._write_lineno^sC<00><00> <0C> <0C> <0C><01><19> <0C><0F> <0A> <0A>j<EFBFBD>D<EFBFBD>L<EFBFBD>L<EFBFBD>A<EFBFBD>$5<>$><3E>$><3E>$<24>$D<>$D<>"<22>d<EFBFBD>l<EFBFBD>l<EFBFBD>#S<>S<>Tr#c<08><><00>VPPV4pVf*VPpVPPV4pK-W P,#r%)rr<00>parentr)r<00>ttype<70>colorss&& r!<00>
_get_color<EFBFBD>TerminalFormatter._get_colorbsK<00><00><16>!<21>!<21>%<25>%<25>e<EFBFBD>,<2C><06><14>n<EFBFBD><19>L<EFBFBD>L<EFBFBD>E<EFBFBD><19>%<25>%<25>)<29>)<29>%<25>0<>F<EFBFBD><15>k<EFBFBD>k<EFBFBD>"<22>"r#c
<08>@<00>VP'dVPV4VF<>wr4VPV4pVPR4F<>pV'd+VP \ WVP R444M VP VP R44VPR4'gKnVP'dVPV4K<>VP R4K<> K<> VP'dVP R4R#R#)Tr,N)rr/r5<00>
splitlinesr.r <00>rstrip<69>endswith)rr'r(r3<00>value<75>color<6F>lines&&& r!<00>format_unencoded<65>"TerminalFormatter.format_unencodedls<><00><00> <0F><<3C><<3C><<3C> <10> <1E> <1E>w<EFBFBD> '<27>'<27>L<EFBFBD>E<EFBFBD><18>O<EFBFBD>O<EFBFBD>E<EFBFBD>*<2A>E<EFBFBD><1D>(<28>(<28><14>.<2E><04><18><1B>M<EFBFBD>M<EFBFBD>*<2A>U<EFBFBD>K<EFBFBD>K<EFBFBD><04>4E<34>"F<>G<><1B>M<EFBFBD>M<EFBFBD>$<24>+<2B>+<2B>d<EFBFBD>"3<>4<><17>=<3D>=<3D><14>&<26>&<26><1B>|<7C>|<7C>|<7C><1C>*<2A>*<2A>7<EFBFBD>3<><1F> <0A> <0A>d<EFBFBD>+<2B>/<2F>(<28> <10><<3C><<3C><<3C> <13>M<EFBFBD>M<EFBFBD>$<24> <1F> r#)rrrrN)<0F>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__firstlineno__<5F>__doc__<5F>name<6D>aliases<65> filenamesrr&r/r5r><00>__static_attributes__<5F>__classdictcell__)<01> __classdict__s@r!rr8s?<00><><00><00><08>, <16>D<EFBFBD><19>9<EFBFBD>%<25>G<EFBFBD><12>I<EFBFBD><19><<3C>U<01>#<23> <20> r#N)r-r-)<02>gray<61> brightblack)<02>cyan<61>
brightcyan)<02>blue<75>
brightblue)<02>magenta<74> brightmagenta)<02>green<65> brightgreen)<02>_cyan_<6E> _brightcyan_)<02>_green_<6E> _brightgreen_)rLrK)<02>red<65> brightred)rPrP)<02>yellowr[)rZrZ)<02>**r\)z *magenta*z*brightmagenta*)<02> _brightred_r])'rD<00>pygments.formatterr<00>pygments.tokenrrrrrrr r
r r <00>pygments.consoler <00> pygments.utilr<00>__all__<5F>Preproc<6F>Type<70>Word<72>Builtin<69>Function<6F> Namespace<63>Class<73> Exception<6F> Decorator<6F>Variable<6C>Constant<6E> Attribute<74>Tag<61>Deleted<65>Inserted<65>Heading<6E>
Subheading<EFBFBD>Promptrr<00>r#r!<00><module>rvs<><00><01><04>)<29>1<>1<>1<>'<27>(<28> <1F>
<1F><07>
<02> <09>+<2B><02><0F>1<><02> <0C>1<> <02>
 <0C>O<EFBFBD>O<EFBFBD>5<> <02>  <0C>1<> <02> <0C>L<EFBFBD>L<EFBFBD>5<><02> <0A>M<EFBFBD>M<EFBFBD>9<><02> <09>L<EFBFBD>L<EFBFBD>5<><02> <09>M<EFBFBD>M<EFBFBD>2<><02> <09>N<EFBFBD>N<EFBFBD>7<><02> <09>J<EFBFBD>J<EFBFBD>4<><02> <09>N<EFBFBD>N<EFBFBD>5<><02> <09>N<EFBFBD>N<EFBFBD>2<><02> <09>M<EFBFBD>M<EFBFBD>0<><02>  <09>M<EFBFBD>M<EFBFBD>0<>!<02>" <09>N<EFBFBD>N<EFBFBD>5<>#<02>$ <09>H<EFBFBD>H<EFBFBD>;<3B>%<02>& <0B>2<>
<EFBFBD>1<> <0B>O<EFBFBD>O<EFBFBD>9<> <0B><14><14>1<> <0B>O<EFBFBD>O<EFBFBD>,<2C> <0B><16><16>:<3A> <0B>N<EFBFBD>N<EFBFBD>,<2C> <0B>M<EFBFBD>M<EFBFBD>9<> <09>;<3B>;<02><0F>BG <20> <09>G r#