Skip to content

Commit

Permalink
Update method for printing message to the status bar (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwortmann authored Dec 4, 2024
1 parent d5cea1f commit e8625f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ def _print(self, sticky: bool, fmt: str, *args: Any) -> None:
if session:
message = fmt.format(*args)
if sticky:
session.set_window_status_async(self.name(), message)
session.set_config_status_async(message)
else:
session.erase_window_status_async(self.name())
session.set_config_status_async("")
session.window.status_message(message)

def m_o__msbuildprojectdiagnostics(self, params: Any) -> None:
Expand Down

0 comments on commit e8625f0

Please sign in to comment.