MCPcopy Create free account
hub / github.com/TabViewer/tabview / main

Function main

tabview/tabview.py:1241–1250  ·  view source on GitHub ↗
(stdscr, *args, **kwargs)

Source from the content-addressed store, hash-verified

1239
1240
1241def main(stdscr, *args, **kwargs):
1242 try:
1243 curses.use_default_colors()
1244 except (AttributeError, _curses.error):
1245 pass
1246 try:
1247 curses.curs_set(False)
1248 except (AttributeError, _curses.error):
1249 pass
1250 Viewer(stdscr, *args, **kwargs).run()
1251
1252
1253def view(data, enc=None, start_pos=(0, 0), column_width=20, column_gap=2,

Callers

nothing calls this directly

Calls 2

ViewerClass · 0.85
runMethod · 0.45

Tested by

no test coverage detected