Skip to content

Overflow when scrollback > terminal rows #5

Closed
@chris-laplante

Description

@chris-laplante

vt100 is misbehaving if you set scrollback > terminal rows. Please see #4. If you run cargo test scrollback, you'll get this:

running 2 tests
test scrollback_larger_than_terminal ... FAILED
test scrollback ... ok

failures:

---- scrollback_larger_than_terminal stdout ----
thread 'scrollback_larger_than_terminal' panicked at 'attempt to subtract with overflow', src/grid.rs:125:42
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions