Support “ti tag -d $TAG” to remove tags The “tag” command gets confused by the extra “-d” argument and therefore fails to actually delete tags. The problem is caused by using the original list of command line arguments before parsing (ARGV) instead of the processed one (args).
Remove broken commands from the user interface The attach and milestone commands are listed in --help and available from the command line, but don’t actually have a working implementation right now. Don’t show them in the Debian build.
Call stty instead of ioctls to obtain the terminal size The ioctl-based determination of the number of rows and columns of the terminal is fragile (see #697065). Read the output of “stty size” instead.