bubbletea/examples/simple
Ayman Bagabas 28ab4f41b2
fix(renderer): properly reset cursor position to start of line (#1472)
This change uses carriage return (`\r`) instead of moving the cursor
backward by the terminal width at the end of rendering in inline mode.
With this, we don't need to know the terminal width to reset the cursor
position, which avoids issues when the renderer doesn't yet know the
terminal width (e.g. the first render where the size message hasn't been
sent to the renderer yet).

Fixes: https://github.com/charmbracelet/bubbletea/issues/1471
2025-09-05 10:37:47 -04:00
..
testdata fix(renderer): properly reset cursor position to start of line (#1472) 2025-09-05 10:37:47 -04:00
main.go feat: allow to suspend bubbletea programs (#1054) 2024-07-11 18:05:16 -03:00
main_test.go chore(examples): use lipgloss everywhere possible (#963) 2024-03-22 13:55:19 -04:00
README.md docs: add examples/gifs locally to repository 2022-10-03 15:07:28 -04:00
simple.gif docs: add examples/gifs locally to repository 2022-10-03 15:07:28 -04:00

Simple