selectel / pyte

Simple VTXXX-compatible linux terminal emulator
http://pyte.readthedocs.org/
GNU Lesser General Public License v3.0
649 stars 101 forks source link

Docs are blurry here #134

Closed Alexey-T closed 4 years ago

Alexey-T commented 4 years ago

set_margins(top=None, bottom=None)[source] Select top and bottom margins for the scrolling region.

Parameters: top (int) – the smallest line number that is scrolled. bottom (int) – the biggest line number that is scrolled.

===== Very blurry text. I don't get by text, what is the margin? Maybe the number1 is the minimal scroll position (for scroll cmds) and number2 is maximal?

Need new text, pls

superbobry commented 4 years ago

Hey Alexey, this method implements the DECSTBM CSI sequence, see e.g. here and here. I'd welcome a PR with better wording ;)