[Lldb-commits] [lldb] [SBProgress] Add swig support for `with` statement in Python (PR #133527)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 28 16:26:04 PDT 2025


Jlalond wrote:

> > @JDevlieghere @bulbazord Is there a Discourse on the recent changes to the terminal colors? On Linux I'm getting this white bar that crosses the whole terminal. I think this is part of your reverse video change Jonas? ![image](https://private-user-images.githubusercontent.com/25160653/428218316-95783b29-99a2-4423-bdc6-b2243790c328.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDMyMDE0OTgsIm5iZiI6MTc0MzIwMTE5OCwicGF0aCI6Ii8yNTE2MDY1My80MjgyMTgzMTYtOTU3ODNiMjktOTlhMi00NDIzLWJkYzYtYjIyNDM3OTBjMzI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAzMjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMzI4VDIyMzMxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU5NDA5MjEyOGMwYTkwNDI3NTJlYTc2YmY0NDIwMjRhMzIzMGEzOGU0OWJkM2UxMGMwZTcwMjljZmExNjM0OWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PmF7xP1gbFA2IYclCxw3MuDyjjQTdoEOS2ReWIQcbDc)
> 
> Yes, what you're seeing is the new [Statusline](https://discourse.llvm.org/t/rfc-lldb-statusline/83948/14). The reverse video change (#133315) just changes the default color. Based on your screenshot, that looks expected.

Neat! While I don't love the reverse video, is there an easier way to update the status line color other than setting the entire format like so?

```
settings set statusline-format "${ansi.bg.blue}{${target.file.basename}}{ | ${line.file.basename}:${line.number}:${line.column}}{ | ${thread.stop-reason}}{ | {${progress.count} }${progress.message}}"
```

If not, I'd love to contribute to make this a bit easier to update the color. Otherwise it's really neat!

https://github.com/llvm/llvm-project/pull/133527


More information about the lldb-commits mailing list