mirror of
https://github.com/onyx-and-iris/vban-tui.git
synced 2026-03-24 02:39:17 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c87fbb1ca9 | |||
| b83b35035a | |||
| c4c8e64e83 |
@ -1,4 +1,11 @@
|
||||
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
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "vban-tui"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
description = "A Textual-based TUI for VBAN Text"
|
||||
readme = "README.md"
|
||||
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
|
||||
|
||||
@ -66,11 +66,6 @@ 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