Skip to content

Commit 64dd234

Browse files
committed
Allow messages to be moved backwards within a thread
1 parent 04a2628 commit 64dd234

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/gptcmd/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,9 @@ def do_move(self, arg):
517517
print("Usage: move <from> <to>")
518518
return
519519
try:
520-
i, j = self._user_range_to_python_range(arg)
520+
i, j = self._user_range_to_python_range(
521+
arg, allow_single=False, strict_range=False
522+
)
521523
except ValueError:
522524
print("Invalid range specified")
523525
return

0 commit comments

Comments
 (0)