nercone-shell 0.3.0__tar.gz → 0.3.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: nercone-shell
3
- Version: 0.3.0
3
+ Version: 0.3.2
4
4
  Summary: Modern shell for Developers
5
5
  Author: Nercone
6
6
  Author-email: Nercone <nercone@diamondgotcat.net>
@@ -9,11 +9,12 @@ Classifier: Programming Language :: Python :: 3
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Operating System :: OS Independent
11
11
  Requires-Dist: nercone-modern
12
+ Requires-Dist: pyreadline3 ; sys_platform == 'win32'
12
13
  Requires-Python: >=3.8
13
14
  Description-Content-Type: text/markdown
14
15
 
15
16
 
16
- <img width="1710" alt="Screenshot" src="https://github.com/user-attachments/assets/a717ebd3-c9d4-447c-86a5-7d33eea9c028" />
17
+ <img width="1240" alt="Screenshot" src="https://github.com/user-attachments/assets/e4f2ea8d-9ec0-465d-8d49-9bd7763e0283" />
17
18
 
18
19
  # Nersh (Nercone Shell)
19
20
  Modern shell for Developers
@@ -1,5 +1,5 @@
1
1
 
2
- <img width="1710" alt="Screenshot" src="https://github.com/user-attachments/assets/a717ebd3-c9d4-447c-86a5-7d33eea9c028" />
2
+ <img width="1240" alt="Screenshot" src="https://github.com/user-attachments/assets/e4f2ea8d-9ec0-465d-8d49-9bd7763e0283" />
3
3
 
4
4
  # Nersh (Nercone Shell)
5
5
  Modern shell for Developers
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "nercone-shell"
7
- version = "0.3.0"
7
+ version = "0.3.2"
8
8
  description = "Modern shell for Developers"
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
  authors = [
@@ -13,7 +13,8 @@ authors = [
13
13
  license = { text = "MIT" }
14
14
  requires-python = ">=3.8"
15
15
  dependencies = [
16
- "nercone-modern"
16
+ "nercone-modern",
17
+ "pyreadline3; platform_system == 'Windows'"
17
18
  ]
18
19
  classifiers = [
19
20
  "Programming Language :: Python :: 3",
@@ -285,7 +285,7 @@ def main() -> int:
285
285
  readline.read_history_file(NERSH_HISTORY_PATH)
286
286
  RL_PROMPT_START_IGNORE = "\001" if NERSH_CONFIG.get("compatibility", {}).get("report_invisible_characters", False) else ""
287
287
  RL_PROMPT_END_IGNORE = "\002" if NERSH_CONFIG.get("compatibility", {}).get("report_invisible_characters", False) else ""
288
- color_accent = f"{RL_PROMPT_START_IGNORE}{NERSH_CONFIG.get('customization', {}).get('accent_color', 'blue')}{RL_PROMPT_END_IGNORE}"
288
+ color_accent = f"{RL_PROMPT_START_IGNORE}{ModernColor.color(NERSH_CONFIG.get('customization', {}).get('accent_color', 'blue'))}{RL_PROMPT_END_IGNORE}"
289
289
  color_reset = f"{RL_PROMPT_START_IGNORE}{ModernColor.color('reset')}{RL_PROMPT_END_IGNORE}"
290
290
  while True:
291
291
  try: