File: run_nyx

package info (click to toggle)
nyx 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,732 kB
  • sloc: python: 7,055; makefile: 7; sh: 3
file content (14 lines) | stat: -rwxr-xr-x 276 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python
# Copyright 2009-2017, Damian Johnson and The Tor Project
# See LICENSE for licensing information

import sys

import nyx
import nyx.curses

if __name__ == '__main__':
  if '--demo-glyphs' in sys.argv:
    nyx.curses.demo_glyphs()
  else:
    nyx.main()