Metadata-Version: 2.1
Name: nonechat
Version: 0.2.1
Summary: Awesome chat console using Textual
Home-page: https://github.com/nonebot/nonechat
Author-Email: RF-Tar-Railt <rf_tar_railt@qq.com>
License: MIT
Project-URL: Homepage, https://github.com/nonebot/nonechat
Project-URL: Repository, https://github.com/nonebot/nonechat
Requires-Python: <4.0,>=3.8
Requires-Dist: textual~=0.29.0
Description-Content-Type: text/markdown

# Nonechat

通用控制台聊天界面

## 使用

```python
from nonechat.info import Event
from nonechat.app import Frontend
from nonechat.backend import Backend


class ExampleBackend(Backend):

    def on_console_load(self):
        print("on_console_load")

    def on_console_mount(self):
        print("on_console_mount")

    def on_console_unmount(self):
        print("on_console_unmount")

    async def post_event(self, event: Event):
        print("post_event")


app = Frontend(ExampleBackend)
app.run()
```
