Closed leif closed 9 years ago
Should I copy+paste this into both gui.go and cli.go?
Or perhaps I should add a processFetch method to client.go (which would then call the ui's processFetch) so this doesn't need to live in network.go?
I've been using this patch since I wrote it and just remembered that it still isn't merged. I find it quite useful!
@leif - I think it makes sense to break it out into a generic file and then include it in each UI implementation. Want to do that and pull again?
opened #128 with this code in a new receiveHook function in client.go, instead of network.go
Perhaps other command hooks should be added. This feels out of place in network.go.