Skip to content

Commit 8c7472b

Browse files
committed
docs/ux: rebrand to 'ratatui' across docs site and demo UI strings; keep repo URLs unchanged
1 parent aeb12ee commit 8c7472b

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ratatui-py
1+
# ratatui
22

33
Fast Python bindings for [Ratatui], the modern Rust TUI library. Build rich terminal UIs with Python while leveraging Ratatui’s performance and widgets.
44

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
site_name: ratatui-py
1+
site_name: ratatui
22
site_description: Python bindings for Ratatui (Rust TUI)
33
site_url: https://holo-q.github.io/ratatui-py/
44
repo_url: https://github.com/holo-q/ratatui-py

src/ratatui_py/demo_runner.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def render(self, term: Terminal, rect: Tuple[int, int, int, int]) -> None:
292292
tabs = Tabs()
293293
tabs.set_titles(self.tabs)
294294
tabs.set_selected(self.tab_idx)
295-
tabs.set_block_title("ratatui-py Dashboard (a/d tabs, j/k move, r spike, q quit)", True)
295+
tabs.set_block_title("ratatui Dashboard (a/d tabs, j/k move, r spike, q quit)", True)
296296
term.draw_tabs(tabs, header)
297297

298298
# main: left list, right chart
@@ -345,7 +345,7 @@ def render_cmds(self, rect: Tuple[int,int,int,int]) -> list:
345345
tabs = Tabs()
346346
tabs.set_titles(self.tabs)
347347
tabs.set_selected(self.tab_idx)
348-
tabs.set_block_title("ratatui-py Dashboard (a/d tabs, j/k move, r spike, q quit)", True)
348+
tabs.set_block_title("ratatui Dashboard (a/d tabs, j/k move, r spike, q quit)", True)
349349
out.append(DrawCmd.tabs(tabs, header))
350350
left, right = split_v(main, 0.38, 0.62, gap=1)
351351
lst = UiList()
@@ -512,7 +512,7 @@ def add_t(text: str, style: Style):
512512
if tw > 0:
513513
ptitle.append_span(text, style)
514514
cur_w += tw
515-
title = " ratatui-py demo "
515+
title = " ratatui demo "
516516
add_t(title, Style(fg=title_fg, bg=title_bg))
517517
if cur_w < max_w:
518518
add_t(" " * (max_w - cur_w), Style(bg=title_bg))
@@ -1196,7 +1196,7 @@ class ChatDemo(DemoBase):
11961196
source_obj = None
11971197

11981198
def __init__(self) -> None:
1199-
self.msgs: list[str] = ["Welcome to ratatui-py chat! (Enter sends, q quits)"]
1199+
self.msgs: list[str] = ["Welcome to ratatui chat! (Enter sends, q quits)"]
12001200
self.input = ""
12011201

12021202
def on_key(self, evt: dict) -> None:

0 commit comments

Comments
 (0)