Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternate screen buffer #244

Draft
wants to merge 2 commits into
base: xterm-emu
Choose a base branch
from
Draft

Alternate screen buffer #244

wants to merge 2 commits into from

Commits on Feb 16, 2024

  1. initial support for the alternate screen buffer

    Which works by adding an additional vscrn called VTERM_B which is semi-independent from VTERM (now called VTERM_A) - it has its own video buffer, but it shares its event queues with VTERM_A and any settings that are applied to VTERM_A also get applied to VTERM_B.
    
    I don't particularly like the scale of these changes but at this stage it seems like the simplest way to achieve this. Before merging its probably worthwhile exploring some other options just in case.
    
    There is also at least one outstanding bug related to the background colour not being applied properly to the main buffer when the window is resized on the alternate buffer.
    davidrg committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    913ede4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    393d110 View commit details
    Browse the repository at this point in the history