Jonathan
Jonathan
How about something like: ```rust pub trait Filter: Send + Sync + Sized { /// Whether the entry should be skipped or not. fn should_skip(&self, entry: &DirEntry) -> bool; fn...
@Asha20 maybe this? ```rust impl Filter for Option where F: Filter { fn should_skip(&self, entry: &DirEntry) -> bool { self.as_ref().map_or(false, |f| f.should_skip(entry)) } } ``` alternatively `config.file_types` could take a...
So unfortunately this solution is partial and will only work with fds < 1024. There is a [workaround](https://code.saghul.net/2016/05/libuv-internals-the-osx-select2-trick/) for Darwin, I'm working on implementing it , but it won't be...
Hey @TimonPost , I'll try to summarize the situation as best I can. As you said, the core issue is that `kqueue` does not support ttys. This is a [long...
@TimonPost Sounds good to me, I'll get started then. I have all three platforms available to test on. @conradludgate you can use this branch in the meantime, see https://github.com/helix-editor/helix/issues/2111#issuecomment-1241110020
@zetashift you could remap `m i` to `dance.seek.askObject.inner` e.g: ``` { "key": "m i", "command": "dance.seek.askObject.inner", "when": "editorTextFocus && dance.mode == 'normal'" }, ``` A more advanced approach would be...
Added the config I'm using [here](https://github.com/71/dance/wiki/Match-menu-a-la-Helix-editor)
Thanks for the review. The reason I put the probing in `set_raw_mode` instead of `new_terminal` is that I figured it needs to be in raw mode to work correctly. How...
@wez I understand that, however for the probing to work the terminal has to be in raw mode, so that the CSI queries aren't echoed and / or processed incorrectly....
@wez I'd appreciate your thoughts on the current implementation: - Added a `TermiosGuard` wrapper for the TTY handler that restores termios state when dropped, and changed unix terminal to use...