forked from cmccabe/linkulator2
Fixed help text for reply input
This commit is contained in:
parent
9ac11fa06e
commit
a1b660a7cd
2
data.py
2
data.py
|
@ -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):
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue