Broken project to implement a cross-protocol browser in textual
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from textual.app import App, ComposeResult
from textual.widgets import Input, Button
from textual.containers import Container


class Browset(App):
    CSS_PATH = "browset.css"
    def compose(self) -> ComposeResult:
        yield Container(
            Button("🔙"), # ⏪
            Button("🔝"), # ⏫
            Button("🔜"), # ⏩
            Button("🔄"), # 🔁
            
            Input(placeholder="Enter URI"),
            id="toolbar"
        )

if __name__ == "__main__":
    app = Browset()
    app.run()