Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 61d7ba8

Browse filesBrowse files
improve help message, fix spelling
1 parent 3a86eae commit 61d7ba8
Copy full SHA for 61d7ba8

2 files changed

+5-2Lines changed: 5 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bpython/curtsiesfrontend/events.py‎

Copy file name to clipboardExpand all lines: bpython/curtsiesfrontend/events.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Non-keybaord events used in bpython curtsies REPL"""
1+
"""Non-keyboard events used in bpython curtsies REPL"""
22
import time
33

44
import curtsies.events
@@ -25,7 +25,7 @@ def __repr__(self):
2525
class ScheduledRefreshRequestEvent(curtsies.events.ScheduledEvent):
2626
"""Request to refresh the REPL display at some point in the future
2727
28-
Used to schedule the dissapearance of status bar message that only show
28+
Used to schedule the disappearance of status bar message that only shows
2929
for a few seconds"""
3030
def __init__(self, when, who='?'):
3131
self.who = who
Collapse file

‎bpython/curtsiesfrontend/repl.py‎

Copy file name to clipboardExpand all lines: bpython/curtsiesfrontend/repl.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
Use a config file at {config_file_location} to customize keys and behavior of bpython.
7474
You can customize which pastebin helper to use and which external editor to use.
7575
See {example_config_url} for an example config file.
76+
Press {config.edit_config_key} to edit this config file.
7677
"""
7778

7879
class FakeStdin(object):
@@ -1385,6 +1386,8 @@ def key_help_text(self):
13851386
pairs = []
13861387
pairs.append(['complete history suggestion', 'right arrow at end of line'])
13871388
pairs.append(['previous match with current line', 'up arrow'])
1389+
pairs.append(['reverse incremental search', 'M-r'])
1390+
pairs.append(['incremental search', 'M-s'])
13881391
for functionality, key in [(attr[:-4].replace('_', ' '), getattr(self.config, attr))
13891392
for attr in self.config.__dict__
13901393
if attr.endswith('key')]:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.