Fixed help text for reply input

This commit is contained in:
asdf 2021-08-24 14:28:30 +10:00
parent 9ac11fa06e
commit a1b660a7cd
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ class LinkData:
"""sort link_data by creation date"""
self.link_data.sort(key=lambda x: x[2], reverse=True)
def add(self, record) -> int:
def add(self, record):
"""Add a record to the data file, and to link_data. Returns a new post
ID, if record is a post, or None"""
if os.path.exists(config.USER.datafile):

View File

@ -261,7 +261,7 @@ def get_reply():
reply_prompt.addnstr(
0,
0,
"Enter your comment (or leave empty to cancel). CTRL+G to submit.",
"Enter your comment (or leave empty to cancel). Press enter to submit.",
curses.COLS,
)
reply_prompt.clrtoeol()