MCPcopy Create free account
hub / github.com/aws/aws-cli / highlight_term_in_buffer

Method highlight_term_in_buffer

awscli/customizations/logs/ui.py:663–667  ·  view source on GitHub ↗
(self, keyword: Keyword)

Source from the content-addressed store, hash-verified

661 )
662
663 async def highlight_term_in_buffer(self, keyword: Keyword):
664 self._output.text = keyword.highlight(self._output.text)
665 self._output.pause_buffer.text = keyword.highlight(
666 self._output.pause_buffer.text
667 )
668
669 async def remove_term_from_buffer(self, keyword: Keyword):
670 self._output.text = keyword.remove_highlighting(self._output.text)

Callers 2

_Method · 0.80

Calls 1

highlightMethod · 0.80

Tested by 1