提交 b8b6f422 编写于 作者: N Nicolas Hennion

Create GlancesCursesStandalone classes

上级 2d726253
......@@ -22,7 +22,7 @@
# Import Glances libs
from glances.core.glances_globals import logger
from glances.core.glances_stats import GlancesStats
from glances.outputs.glances_curses import GlancesCurses
from glances.outputs.glances_curses import GlancesCursesStandalone
from glances.core.glances_globals import glances_processes, is_windows
......@@ -66,7 +66,7 @@ class GlancesStandalone(object):
self.csv_tag = False
# Init screen
self.screen = GlancesCurses(args=args)
self.screen = GlancesCursesStandalone(args=args)
def serve_forever(self):
"""Main loop for the CLI."""
......
......@@ -807,6 +807,13 @@ class _GlancesCurses(object):
return c + 1
class GlancesCursesStandalone(_GlancesCurses):
"""Class for the Glances' curse standalone"""
pass
class GlancesCursesClient(_GlancesCurses):
"""Class for the Glances' curse client"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册