This commit is contained in:
Joakim
2026-10-14 21:17:26 +02:00
parent f4c855f547
commit a258d44613
3 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# ai 0.3.5 # ai 0.3.6
Terminal AI-klient för OpenRouter, anpassad för Lyra/PicoCalc. Terminal AI-klient för OpenRouter, anpassad för Lyra/PicoCalc.

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "ai-terminal" name = "ai-terminal"
version = "0.3.5" version = "0.3.6"
description = "Compact terminal AI client for OpenRouter" description = "Compact terminal AI client for OpenRouter"
requires-python = ">=3.10" requires-python = ">=3.10"
dependencies = ["httpx>=0.27,<1", "PyYAML>=6.0"] dependencies = ["httpx>=0.27,<1", "PyYAML>=6.0"]

View File

@@ -188,8 +188,11 @@ class App:
attr = curses.color_pair(1) if self.focus == "input" and curses.has_colors() else 0 attr = curses.color_pair(1) if self.focus == "input" and curses.has_colors() else 0
screen.addnstr(first_row + i, 0, pfx + text, max(0, width), attr) screen.addnstr(first_row + i, 0, pfx + text, max(0, width), attr)
if status: if status and width > 1:
screen.addnstr(height - 1, 0, status, max(0, width), # The bottom-right terminal cell is special in curses: writing
# into it can return ERR even when the text length is exactly
# the terminal width. Leave the last column unused.
screen.addnstr(height - 1, 0, status, width - 1,
curses.color_pair(3) if curses.has_colors() else 0) curses.color_pair(3) if curses.has_colors() else 0)
if self.focus == "input": if self.focus == "input":