
import urwid

def run_tag(tag, *args, **kwargs):
    loop = urwid.MainLoop(tag, *args, **kwargs)
    loop.run()

def quit_app():
    raise urwid.ExitMainLoop()


import urwid

def run_tag(tag, *args, **kwargs):
    loop = urwid.MainLoop(tag, *args, **kwargs)
    loop.screen.set_terminal_properties(colors=256)
    loop.run()

def quit_app():
    raise urwid.ExitMainLoop()

Set default property screen 256 colors.
Set default property screen 256 colors.

  
  import urwid
  
  def run_tag(tag, *args, **kwargs):
      loop = urwid.MainLoop(tag, *args, **kwargs)
+     loop.screen.set_terminal_properties(colors=256)
      loop.run()
  
  def quit_app():
      raise urwid.ExitMainLoop()
  
Set default property screen 256 colors.
## Code Before:

import urwid

def run_tag(tag, *args, **kwargs):
    loop = urwid.MainLoop(tag, *args, **kwargs)
    loop.run()

def quit_app():
    raise urwid.ExitMainLoop()

## Instruction:
Set default property screen 256 colors.
## Code After:

import urwid

def run_tag(tag, *args, **kwargs):
    loop = urwid.MainLoop(tag, *args, **kwargs)
    loop.screen.set_terminal_properties(colors=256)
    loop.run()

def quit_app():
    raise urwid.ExitMainLoop()
