Mercurial > hg
comparison setup_osutil_cffi.py @ 29957:7d053ba73178
crecord: add an event that scrolls the selected line to the top of the screen
Using ctrl-l for this purpose seems to be a fairly widely used practice,
presumably following emacs. This doesn't scroll the selected line all
the way to the top of the window, instead it leaves a 3 line buffer for
context. Use curses.unctrl() to resolve keypressed to '^L' to avoid
hard-coding hexadecimal key codes.
author | Nathan Goldbaum <ngoldbau@illinois.edu> |
---|---|
date | Tue, 20 Sep 2016 10:03:50 -0500 |
parents | a043c6d372db |
children |
comparison
equal
deleted
inserted
replaced
29956:fa5e4f58dfbc | 29957:7d053ba73178 |
---|