File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -396,6 +396,14 @@ def do(self):
396
396
pass
397
397
398
398
399
+ class help (Command ):
400
+ def do (self ):
401
+ import _sitebuiltins
402
+ self .reader .console .restore ()
403
+ self .reader .msg = _sitebuiltins ._Helper ()()
404
+ self .reader .dirty = 1
405
+
406
+
399
407
class invalid_key (Command ):
400
408
def do (self ):
401
409
pending = self .reader .console .getpending ()
Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ def make_default_syntax_table():
160
160
(r"\M-\<backspace>" , "backward-kill-word" ),
161
161
(r"\<end>" , "end-of-line" ), # was 'end'
162
162
(r"\<home>" , "beginning-of-line" ), # was 'home'
163
+ (r"\<f1>" , "help" ),
163
164
(r"\EOF" , "end" ), # the entries in the terminfo database for xterms
164
165
(r"\EOH" , "home" ), # seem to be wrong. this is a less than ideal
165
166
# workaround
You can’t perform that action at this time.
0 commit comments