mirror of
https://github.com/onyx-and-iris/vban-tui.git
synced 2026-03-23 18:29:17 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c87fbb1ca9 | |||
| b83b35035a | |||
| c4c8e64e83 |
@ -1,7 +1,14 @@
|
|||||||
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
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "vban-tui"
|
name = "vban-tui"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
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" }]
|
||||||
|
|||||||
@ -66,11 +66,6 @@ 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
2
uv.lock
generated
@ -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.0"
|
version = "0.2.1"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "pydantic-settings" },
|
{ name = "pydantic-settings" },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user