TailBlazer icon indicating copy to clipboard operation
TailBlazer copied to clipboard

Add binding on MiddleClick to remove file being tailed

Open rc201612 opened this issue 8 years ago • 5 comments

Quite a trivial change, but I feel it adds something. Added an input binding on Middle Click to close / remove file being tailed.

rc201612 avatar Jul 06 '16 20:07 rc201612

The command you hooked into will remove the selected filter not the file.

To remove the file the bindings / command would need to be hooked into WindowViewModel / MainWindow and the actual file would have to be removed from the observable collection (Views)

RolandPheasant avatar Jul 06 '16 21:07 RolandPheasant

Apologies, it was meant to say filter. I don't know why I wrote file..

Will do similar for removing file.

rc201612 avatar Jul 06 '16 21:07 rc201612

I think the idea of a short cut to remove the filter is good. However I wonder whether there is a more explicit short cut option?

RolandPheasant avatar Jul 06 '16 21:07 RolandPheasant

I think a shortcut would definitely be useful. What shortcut do you have in mind?

I was thinking that Ctrl+ W could be used to close the file, and Middle-Clicking on a filter could remove the filter. It's a bit easier than trying to locate the small X and pressing it.

rc201612 avatar Jan 07 '17 21:01 rc201612

I think middle click to remove the file is even more important as that's a pretty common shortcut

maynardflies avatar Feb 27 '18 21:02 maynardflies