streamdown 0.35.1__py3-none-any.whl → 0.35.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- streamdown/sd.py +2 -2
- {streamdown-0.35.1.dist-info → streamdown-0.35.3.dist-info}/METADATA +1 -1
- {streamdown-0.35.1.dist-info → streamdown-0.35.3.dist-info}/RECORD +6 -6
- {streamdown-0.35.1.dist-info → streamdown-0.35.3.dist-info}/WHEEL +0 -0
- {streamdown-0.35.1.dist-info → streamdown-0.35.3.dist-info}/entry_points.txt +0 -0
- {streamdown-0.35.1.dist-info → streamdown-0.35.3.dist-info}/licenses/LICENSE.MIT +0 -0
streamdown/sd.py
CHANGED
|
@@ -1039,7 +1039,7 @@ def parse(stream):
|
|
|
1039
1039
|
|
|
1040
1040
|
def terminal_prep(what):
|
|
1041
1041
|
if Style.Plaintext:
|
|
1042
|
-
return strip_ansi(what)
|
|
1042
|
+
return "\n".join([x.rstrip() for x in strip_ansi(what)])
|
|
1043
1043
|
return what
|
|
1044
1044
|
|
|
1045
1045
|
def emit(inp):
|
|
@@ -1249,7 +1249,7 @@ def main():
|
|
|
1249
1249
|
if state.exec_sub:
|
|
1250
1250
|
state.exec_sub.wait()
|
|
1251
1251
|
|
|
1252
|
-
print(RESET, end="")
|
|
1252
|
+
print(terminal_prep(RESET), end="")
|
|
1253
1253
|
sys.exit(state.exit)
|
|
1254
1254
|
|
|
1255
1255
|
if __name__ == "__main__":
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: streamdown
|
|
3
|
-
Version: 0.35.
|
|
3
|
+
Version: 0.35.3
|
|
4
4
|
Summary: A streaming markdown renderer for modern terminals with syntax highlighting
|
|
5
5
|
Project-URL: Homepage, https://github.com/day50-dev/Streamdown
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/day50-dev/Streamdown/issues
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
streamdown/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
streamdown/qwen3.md,sha256=1e7ELkK-quwUeOmBDwXodFH-DlnfAcQWj32rjK6Zex4,542
|
|
3
|
-
streamdown/sd.py,sha256=
|
|
3
|
+
streamdown/sd.py,sha256=MdcNYksrDMd-dlZib_m4g-duLyJO7FTFU9TmdaatYXk,46652
|
|
4
4
|
streamdown/ss,sha256=sel_phpaecrw6WGIHRLROsD7BFShf0rSDHheflwdUn8,277
|
|
5
5
|
streamdown/ss1,sha256=CUVf86_2zeAle2oQCeTfWYqtHBrAFR_UgvptuYMQzFU,3151
|
|
6
6
|
streamdown/test.txt,sha256=j0NDRmSPa5bfid2pAcUXaxCm2Dlh3TwayItZstwyeqQ,2
|
|
7
7
|
streamdown/plugins/README.md,sha256=KWqYELs9WkKJmuDzYv3cvPlZMkArsNCBUe4XDoTLjLA,1143
|
|
8
8
|
streamdown/plugins/latex.py,sha256=xZMGMdx_Sw4X1piZejXFHfEG9qazU4fGeceiMI0h13Y,648
|
|
9
|
-
streamdown-0.35.
|
|
10
|
-
streamdown-0.35.
|
|
11
|
-
streamdown-0.35.
|
|
12
|
-
streamdown-0.35.
|
|
13
|
-
streamdown-0.35.
|
|
9
|
+
streamdown-0.35.3.dist-info/METADATA,sha256=8BnfKSQtNbjxw9iEM3EDF8g7icmjvQQQ-oh4Ssfhwew,10494
|
|
10
|
+
streamdown-0.35.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
11
|
+
streamdown-0.35.3.dist-info/entry_points.txt,sha256=HroKFsFMGf_h9PRTE96NjvjJQWupMW5TGP5RGUr1O_Q,74
|
|
12
|
+
streamdown-0.35.3.dist-info/licenses/LICENSE.MIT,sha256=SnY46EPirUsF20dZDR8HpyVgS2_4Tjxuc6f-4OdqO7U,1070
|
|
13
|
+
streamdown-0.35.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|