@averagejoeslab/puppuccino-tui 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -253,7 +253,7 @@ function getPrompt() {
253
253
 
254
254
  // src/app.ts
255
255
  function init(options) {
256
- const { width, height } = (0, import_term.getTerminalSize)();
256
+ const { width, height } = (0, import_term.getSize)();
257
257
  const theme = getTheme(options?.theme || "kaldi");
258
258
  const model = {
259
259
  input: import_widgets.TextInput.init({
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { Program } from "@averagejoeslab/tui";
3
3
  import { Spinner, TextInput, Viewport } from "@averagejoeslab/widgets";
4
4
  import { render as renderMarkdown } from "@averagejoeslab/markdown";
5
- import { getTerminalSize } from "@averagejoeslab/term";
5
+ import { getSize } from "@averagejoeslab/term";
6
6
 
7
7
  // src/themes/index.ts
8
8
  import { Style } from "@averagejoeslab/style";
@@ -209,7 +209,7 @@ function getPrompt() {
209
209
 
210
210
  // src/app.ts
211
211
  function init(options) {
212
- const { width, height } = getTerminalSize();
212
+ const { width, height } = getSize();
213
213
  const theme = getTheme(options?.theme || "kaldi");
214
214
  const model = {
215
215
  input: TextInput.init({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@averagejoeslab/puppuccino-tui",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Terminal UI for Puppuccino AI coding agent",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",