linux状态栏
I noticed that some guys’ screen console has a status bar with tab numbers.
That will be very useful for
这将对
1) know you are using screen
rather than a normal terminal.
1)知道您使用的是screen
而不是普通的终端。
2) which tab you are working in.
2)您正在使用哪个标签。
Below is my ~/.screenrc
:
以下是我的~/.screenrc
:
hardstatus alwayslastline
hardstatusstring '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]'
It will show a bar at the bottom of the screen.
它将在屏幕底部显示一个栏。
![screen with tab](https://i-blog.csdnimg.cn/blog_migrate/a172101d7423c1624631c898cc47567f.png)
Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。
翻译自: https://www.systutorials.com/how-to-add-a-status-bar-to-screen-on-linux/
linux状态栏