@rlabs-inc/tui 0.2.3 → 0.3.0
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/README.md +21 -4
- package/package.json +1 -1
- package/src/renderer/append-region.ts +5 -5
package/README.md
CHANGED
|
@@ -92,10 +92,27 @@ bun run examples/tests/03-layout-flex.ts
|
|
|
92
92
|
|
|
93
93
|
## Documentation
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
- [
|
|
97
|
-
- [
|
|
98
|
-
- [
|
|
95
|
+
### Getting Started
|
|
96
|
+
- [Installation](./docs/getting-started/installation.md) - Requirements and setup
|
|
97
|
+
- [Quick Start](./docs/getting-started/quick-start.md) - Hello world in 5 minutes
|
|
98
|
+
- [Core Concepts](./docs/getting-started/concepts.md) - Understand the fundamentals
|
|
99
|
+
- [First App Tutorial](./docs/getting-started/first-app.md) - Build a complete app
|
|
100
|
+
|
|
101
|
+
### User Guides
|
|
102
|
+
- [Primitives](./docs/guides/primitives/) - box, text, each, show, when
|
|
103
|
+
- [Layout](./docs/guides/layout/flexbox.md) - Flexbox layout system
|
|
104
|
+
- [Styling](./docs/guides/styling/colors.md) - Colors, themes, borders
|
|
105
|
+
- [Reactivity](./docs/guides/reactivity/signals.md) - Signals and reactivity
|
|
106
|
+
- [Patterns](./docs/guides/patterns/component-patterns.md) - Building components
|
|
107
|
+
|
|
108
|
+
### Reference
|
|
109
|
+
- [API Reference](./docs/api/README.md) - Complete API documentation
|
|
110
|
+
- [Architecture](./docs/contributing/architecture.md) - Deep dive into internals
|
|
111
|
+
- [Examples](./docs/examples/README.md) - 100+ working examples
|
|
112
|
+
|
|
113
|
+
### Contributing
|
|
114
|
+
- [Development Setup](./docs/contributing/development.md) - Get started contributing
|
|
115
|
+
- [Internals](./docs/contributing/internals/) - Engine deep-dives
|
|
99
116
|
|
|
100
117
|
## Primitives
|
|
101
118
|
|
package/package.json
CHANGED
|
@@ -62,9 +62,9 @@ export class AppendRegionRenderer {
|
|
|
62
62
|
process.stdout.write(ansi.cursorUp(this.previousHeight))
|
|
63
63
|
process.stdout.write(ansi.eraseDown)
|
|
64
64
|
} else {
|
|
65
|
-
// Active area exceeded viewport - clear
|
|
66
|
-
//
|
|
67
|
-
process.stdout.write(ansi.
|
|
65
|
+
// Active area exceeded viewport - clear visible screen only
|
|
66
|
+
// Use clearViewport (not clearTerminal) to preserve scrollback history
|
|
67
|
+
process.stdout.write(ansi.clearViewport)
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -92,8 +92,8 @@ export class AppendRegionRenderer {
|
|
|
92
92
|
process.stdout.write(ansi.cursorUp(this.previousHeight))
|
|
93
93
|
process.stdout.write(ansi.eraseDown)
|
|
94
94
|
} else {
|
|
95
|
-
// Active area exceeded viewport - clear
|
|
96
|
-
process.stdout.write(ansi.
|
|
95
|
+
// Active area exceeded viewport - clear visible screen only
|
|
96
|
+
process.stdout.write(ansi.clearViewport)
|
|
97
97
|
}
|
|
98
98
|
this.previousHeight = 0
|
|
99
99
|
}
|