When I run clear using the bash.exe that's shipped with Git for Windows, the console doesn't clear in 0.4.0.0. The cursor's position is reset, but all of the text content remains. This worked in 0.3.1.0. Is there a way to alias clear to Ctrl+L?
Edit: I also have issues when detaching from a tmux session. The screen contents aren't cleared.
I have the same issue with Alacritty https://github.com/jwilm/alacritty/issues/1967. Probably a bug in the underlying *pty foundation used.
Confirming I had the same bug while using git-bash while running FluentTerminal v0.5.3.0
for FluentTerminal: go to the profile settings and set "_Use ConPty_" to Yes 馃殌
ps - I have had similar problems on the Terminus terminal, see GitHub Issue -- there, a solution was to use a different render engine
Unfortunately, @whyboris's solution didn't help in my case with WSL in 0.5.3.0. I'm having the same problem in Hyper, while Alacritty seems to work fine so far.
I have the same issue, I use bash in vscode
I had the same issue with Git Bash in Fluent Terminal, but not in VS Code. Then I noticed that in VSCode, the environment variable TERM=cygwin, but in Fluent Terminal TERM=xterm-256. After setting TERM=cygwin in Fluent Terminal, clear has been working for me.
@tjohnsonBCM in which file did you set the env variable?
@EvangelosKolimitras I set it in my ~/.bashrc file so that it takes effect whenever a Bash terminal loads.
Testing 0.7.0 a lot of things don't work if you cursor is on the last line of the window. For example clear works to clear the screen, but not if I run clear from a prompt on the last line of the window, in that case the cursor moves to the top line but nothing is cleared and all the text remains. Testing with WSL and 'Use ConPty' on and off, same result.