Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: stefanholek/term
base: 64146f38e0
...
head fork: stefanholek/term
compare: 0141b1d216
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 9 additions and 1 deletion.
  1. +7 −1 README.txt
  2. +2 −0  term/__init__.py
8 README.txt
View
@@ -50,4 +50,10 @@ Examples
from term import getyx
- print 'The cursor is in row %d column %d' % getyx()
+ print 'The cursor is in line %d column %d' % getyx()
+
+You may also want to look at the `source code`_ of getyx, which is a
+good example of how all this plays together.
+
+.. _`source code`: https://github.com/stefanholek/term/blob/master/term/__init__.py#L119
+
2  term/__init__.py
View
@@ -1,5 +1,7 @@
"""Terminal utilities."""
+# Authors: Steen Lumholt, Stefan H. Holek
+
import sys
import os
import re

No commit comments for this range

Something went wrong with that request. Please try again.