summary refs log tree commit diff stats
path: root/commands/msgview/toggle-headers.go
diff options
context:
space:
mode:
authorAditya Mahajan <adityam@umich.edu>2019-06-14 17:11:17 -0400
committerDrew DeVault <sir@cmpwn.com>2019-06-16 11:16:26 -0400
commit1b7790553e04816c3dd677848b2584ffd6785220 (patch)
tree9703a63a324472dca9ff5bfc7b1bf316a2a2c295 /commands/msgview/toggle-headers.go
parentab79bc34470883f69a329f82a931de7acd715e95 (diff)
downloadaerc-1b7790553e04816c3dd677848b2584ffd6785220.tar.gz
Ensure that flags are set properly
The current implementation has three classes of flags:
- readFlag
- delFlag
- flaggedFlag

The logic to check for them should be in parallel if branches rather
than in sequential if-else ladder.
Diffstat (limited to 'commands/msgview/toggle-headers.go')
0 files changed, 0 insertions, 0 deletions