@@ -23,7 +23,8 @@ class Textbox:
2323 Ctrl-A Go to left edge of window.
2424 Ctrl-B Cursor left, wrapping to previous line if appropriate.
2525 Ctrl-D Delete character under cursor.
26- Ctrl-E Go to right edge (stripspaces off) or end of line (stripspaces on).
26+ Ctrl-E Go to right edge (stripspaces off) or end of line
27+ (stripspaces on).
2728 Ctrl-F Cursor right, wrapping to next line when appropriate.
2829 Ctrl-G Terminate, returning the window contents.
2930 Ctrl-H Delete character backward.
@@ -34,11 +35,12 @@ class Textbox:
3435 Ctrl-O Insert a blank line at cursor location.
3536 Ctrl-P Cursor up; move up one line.
3637
37- Move operations do nothing if the cursor is at an edge where the movement
38- is not possible. The following synonyms are supported where possible:
38+ Move operations do nothing if the cursor is at an edge where the
39+ movement is not possible. The following synonyms are supported where
40+ possible:
3941
40- KEY_LEFT = Ctrl-B, KEY_RIGHT = Ctrl-F, KEY_UP = Ctrl-P, KEY_DOWN = Ctrl-N
41- KEY_BACKSPACE = Ctrl-h
42+ KEY_LEFT = Ctrl-B, KEY_RIGHT = Ctrl-F, KEY_UP = Ctrl-P,
43+ KEY_DOWN = Ctrl-N, KEY_BACKSPACE = Ctrl-h
4244 """
4345 def __init__ (self , win , insert_mode = False ):
4446 self .win = win
0 commit comments