We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ee6734 commit 613bb1eCopy full SHA for 613bb1e
1 file changed
trepan/processor/command/show_subcmd/style.py
@@ -17,7 +17,7 @@ def complete(self, prefix):
17
18
19
class ShowStyle(DebuggerSubcommand):
20
- """**show style* *name*
+ """**show style* *pygments-style*
21
22
Show the pygments style used in formatting 256-color terminal text.
23
@@ -36,11 +36,11 @@ def run(self, args):
36
self.errmsg("Expecting no args")
37
return
38
39
- style = self.debugger.settings[self.name]
+ style = self.debugger.settings.get(self.name, None)
40
if style:
41
- self.msg("Pygments style is %s" % style)
+ self.msg("Pygments style is %s." % style)
42
else:
43
- self.msg("Pygments style not set")
+ self.msg("Pygments style not set.")
44
45
46
pass
0 commit comments