kingToolbox / kingToolbox/WindTerm
Linux Screen Command
- Dominant language
- C
- Stars
- 32.3k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
I've actually experienced this for quite a long time, but because I thought this bug had been known before and I thought it would be updated in the latest update, but apparently not at all.
So the case is when I use the [screen](https://man7.org/linux/man-pages/man1/screen.1.html) command then do detach mode **ctrl a+d** then do commands like **htop** and other normal commands, suddenly the text here is all messed up. The solution was that I had to disconnect the SSH session, then reconnect. I have to do this every time I use the **screen** command.
If you want to try please follow these steps
1. Make sure the "screen" command has been installed previously
2. Try running "screen -R mysession"
3. Then run "ctrl a+d"
4. Run other commands such as nano, vim, htop, and so on
Here is the pictures with before and after use screen in WindTerm.



Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in WindTerm by running `screen -R mysession`, detaching with Ctrl+A+D, and then launching commands such as nano, vim, or htop. Compare the terminal display before and after detaching, using the screenshots and the SSH disconnect/reconnect workaround as reference. Done means normal command output remains correctly rendered without reconnecting the SSH session.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux, shell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100