Compare commits

..

No commits in common. "main" and "v0.2.0" have entirely different histories.
main ... v0.2.0

4 changed files with 8 additions and 10 deletions

View File

@ -1,14 +1,7 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/uv-pre-commit - repo: https://github.com/astral-sh/uv-pre-commit
# uv version. # uv version.
rev: 0.10.7 rev: 0.10.7
hooks: hooks:
# Update the uv lockfile # Update the uv lockfile
- id: uv-lock - id: uv-lock

View File

@ -1,6 +1,6 @@
[project] [project]
name = "vban-tui" name = "vban-tui"
version = "0.2.1" version = "0.2.0"
description = "A Textual-based TUI for VBAN Text" description = "A Textual-based TUI for VBAN Text"
readme = "README.md" readme = "README.md"
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }] authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]

View File

@ -66,6 +66,11 @@ class VbanTui(App):
self.query_one('#request-input').focus() self.query_one('#request-input').focus()
if not self._settings.rich_log:
self.query_one('#response-log').remove()
self.query_one('#main-grid').styles.height = '20'
self.query_one('#main-grid').refresh(layout=True)
def on_key(self, event): def on_key(self, event):
"""Handle key events.""" """Handle key events."""
request_input = self.query_one('#request-input') request_input = self.query_one('#request-input')

2
uv.lock generated
View File

@ -362,7 +362,7 @@ requires-dist = [{ name = "tomli", marker = "python_full_version < '3.11'", spec
[[package]] [[package]]
name = "vban-tui" name = "vban-tui"
version = "0.2.1" version = "0.2.0"
source = { editable = "." } source = { editable = "." }
dependencies = [ dependencies = [
{ name = "pydantic-settings" }, { name = "pydantic-settings" },