Add a TODO note in rename_workspace.py

This commit is contained in:
Adam Goldsmith 2018-02-28 22:06:56 -05:00
parent 3ce43395a0
commit e7bb3cbff4

View File

@ -15,6 +15,7 @@ if len(focused) == 1: # I have no idea when it wouldn't be, but whatever
# basically either take raw input, allow clearing text part of a name,
# or add input to current number
# TODO: handle renaming of workspace without number to another name without a number
newName = inputName if re.match('^[0-9]+:', inputName) is not None else \
oldNum if inputName == "" else \
oldNum + ':' + inputName