mirror of
https://github.com/onyx-and-iris/vban-tui.git
synced 2026-03-24 02:39:17 +00:00
Compare commits
No commits in common. "main" and "v0.2.0" have entirely different histories.
@ -1,14 +1,7 @@
|
||||
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
|
||||
# uv version.
|
||||
rev: 0.10.7
|
||||
hooks:
|
||||
# Update the uv lockfile
|
||||
- id: uv-lock
|
||||
- id: uv-lock
|
||||
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "vban-tui"
|
||||
version = "0.2.1"
|
||||
version = "0.2.0"
|
||||
description = "A Textual-based TUI for VBAN Text"
|
||||
readme = "README.md"
|
||||
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
|
||||
|
||||
@ -66,6 +66,11 @@ class VbanTui(App):
|
||||
|
||||
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):
|
||||
"""Handle key events."""
|
||||
request_input = self.query_one('#request-input')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user