mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-05 15:27:53 +10:00
remove Seed model in favor of Crawl as template
This commit is contained in:
@@ -13,9 +13,11 @@ from rich.console import Console
|
||||
from rich.highlighter import Highlighter
|
||||
|
||||
# SETUP RICH CONSOLE / TTY detection / COLOR / PROGRESS BARS
|
||||
CONSOLE = Console()
|
||||
STDERR = Console(stderr=True)
|
||||
IS_TTY = CONSOLE.is_interactive
|
||||
# Disable wrapping - use soft_wrap=True and large width so text flows naturally
|
||||
# Colors are preserved, just no hard line breaks inserted
|
||||
CONSOLE = Console(width=32768, soft_wrap=True, force_terminal=True)
|
||||
STDERR = Console(stderr=True, width=32768, soft_wrap=True, force_terminal=True)
|
||||
IS_TTY = sys.stdout.isatty()
|
||||
|
||||
class RainbowHighlighter(Highlighter):
|
||||
def highlight(self, text):
|
||||
|
||||
Reference in New Issue
Block a user