felixse / felixse/FluentTerminal

"clear -x" clears scrollback buffer

Open
#939 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
9.6k
Forks
448
PR merge metrics
No merged PRs in 30d

Description

I am using FluentTerminal v0.7.5.0 in Windows 10 (Version 10.0.19042 Build 19042) with WSL2 Ubuntu 20.04.

The default behavior of keybinding "ctrl+l" or "ctrl+alt+l" clears the complete screen, causing loss of previous information (scrollback buffer) in the terminal.

The command "[clear -x](https://man7.org/linux/man-pages/man1/clear.1.html)" (used for not clearing terminal's scrollback buffer) fails to work as expected. Either it clears the scrollback buffer or does an incomplete clear of the scrollback buffer.

The command "clear -x" works as expected in windows terminal. Attaching a screen recording of the issue. Is there any way to retain the scrollback buffer?

https://user-images.githubusercontent.com/11735154/126473930-e5e03282-b516-4bea-8af2-82938d771b70.mp4

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.