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

Method display

tabview/tabview.py:1097–1105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1095 self.hid_rows = max(0, self.hid_rows)
1096
1097 def display(self):
1098 self.win.erase()
1099 addstr(self.win, 1, 1, self.title[:self.term_cols - 3],
1100 curses.A_STANDOUT)
1101 visible_rows = self.tdata[self.hid_rows:self.hid_rows +
1102 self.nlines]
1103 addstr(self.win, 2, 1, '\n '.join(visible_rows))
1104 self.win.box()
1105 self.win.refresh()
1106
1107
1108def csv_sniff(data, enc):

Callers 1

runMethod · 0.95

Calls 1

addstrFunction · 0.85

Tested by

no test coverage detected