Changeset c267c3
- Timestamp:
- 04/27/2009 05:17:44 PM (16 years ago)
- Branches:
- 2.0.x, develop, extjs4-port, master
- Children:
- 370b4a
- Parents:
- 204f055
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/ui/console/screen.py
r204f055 rc267c3 325 325 self.input_cursor = len(self.input) 326 326 327 # Scrolling through buffer 328 elif c == curses.KEY_PPAGE: 329 self.display_lines_offset += self.rows - 3 330 if self.display_lines_offset > (len(self.lines) - 1 - self.rows - 3): 331 self.display_lines_offset = len(self.lines) - 1 - self.rows - 3 332 333 self.refresh() 334 elif c == curses.KEY_NPAGE: 335 self.display_lines_offset -= self.rows - 3 336 if self.display_lines_offset < 0: 337 self.display_lines_offset = 0 338 self.refresh() 339 327 340 # Delete a character in the input string based on cursor position 328 341 if c == curses.KEY_BACKSPACE or c == 127:
Note:
See TracChangeset
for help on using the changeset viewer.