Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: charmbracelet/bubbletea
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.3
Choose a base ref
...
head repository: charmbracelet/bubbletea
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.4
Choose a head ref
  • 4 commits
  • 2 files changed
  • 2 contributors

Commits on Nov 19, 2024

  1. fix: cursor position adjustment after exiting alt screen (#1241)

    * fix cursor position handling after exiting alt screen mode
    
    * avoid moving cursor when lines rendered before alt screen is zero
    semihbkgr authored Nov 19, 2024
    Configuration menu
    Copy the full SHA
    4ad0792 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. Configuration menu
    Copy the full SHA
    bc15c1e View commit details
    Browse the repository at this point in the history
  2. fix: renderer: keep a separate count of lines rendered in the alt screen

    We need to keep a separate count of lines rendered in the alt screen and
    inline mode. This is because when we enter alt screen mode, the cursor
    position is saved and the alt screen is cleared. Now when we exit the
    alt screen mode, the cursor position is restored so we don't need to
    move the cursor to the beginning of the section that we rendered.
    
    To fix this, we keep a separate count of lines rendered in the alt screen
    mode and inline mode.
    
    Related: #1013
    Fixes: #1241
    Fixes: #1248
    aymanbagabas committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    ede8caa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ea49dd View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址