]> git.ipfire.org Git - thirdparty/qemu.git/commit
python/aqmp-tui: Add syntax highlighting
authorG S Niteesh Babu <niteesh.gs@gmail.com>
Mon, 23 Aug 2021 22:07:46 +0000 (03:37 +0530)
committerJohn Snow <jsnow@redhat.com>
Mon, 27 Sep 2021 16:10:29 +0000 (12:10 -0400)
commit99e45a6131a7fef19ffe0190f9c479fae4850d53
tree6a2d58875f60fdf5873942c0bc0972101e1efbea
parentf37c34d601b7786cf98aa8c9639b9ab6660a9af7
python/aqmp-tui: Add syntax highlighting

Add syntax highlighting for the incoming and outgoing QMP messages.
This is achieved using the pygments module which was added in a
previous commit.

The current implementation is a really simple one which doesn't
allow for any configuration. In future this has to be improved
to allow for easier theme config using an external config of
some sort.

Signed-off-by: G S Niteesh Babu <niteesh.gs@gmail.com>
Message-Id: <20210823220746.28295-6-niteesh.gs@gmail.com>
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/aqmp/aqmp_tui.py