-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Is it the culprit ?
It seems that stdout isn't reactive at all
vue-termui/packages/core/src/composables/screen.ts
Lines 26 to 37 in 8ec18fb
| export function useStdoutDimensions() { | |
| const { stdout } = useStdout() | |
| const width = ref(stdout.columns) | |
| const height = ref(stdout.rows) | |
| onResize(() => { | |
| width.value = stdout.columns | |
| height.value = stdout.rows | |
| }) | |
| return [width, height] | |
| } |
Metadata
Metadata
Assignees
Labels
No labels