-
-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Support #135
Comments
Glad you like it! 😊 Sure, I don't see why we can't do this. I know it's different, but have you tried with WSL? I'm mostly interested in whether or not it works haha, I haven't yet had a chance to try. I think wrt the termion change, I'd rather we have a go switching to crossterm. Using tui-rs we should be able to change backend, and hopefully we aren't using any/too many termion specific features so the switch could be pretty smooth. May I ask what was up with the server + why it needed disabling? In any case I'm totally up for supporting Windows, though I haven't worked on anything for Windows in a long time so would prefer someone make a PR 😂 Thanks for having a go at this anyway, really appreciate the work :) |
I'm not using WSL(2) as I'd like to work on Windows filesystem and WSL2 is known to be slow in the case.
OK, I will try crossterm and get back. Thanks! |
Trying crossterm. I found crossterm's Besides that, it seems most different part is Key::Esc | Key::Ctrl('c') | Key::Ctrl('d') | Key::Ctrl('g') => {
return Some(String::from(""))
} to be KeyEvent {
code: KeyCode::Esc, ..
}
| KeyEvent {
code: KeyCode::Char('c'),
modifiers: KeyModifiers::CONTROL,
}
| KeyEvent {
code: KeyCode::Char('d'),
modifiers: KeyModifiers::CONTROL,
}
| KeyEvent {
code: KeyCode::Char('g'),
modifiers: KeyModifiers::CONTROL,
} => return Some(String::from("")), |
Found it is caused by |
OK, I found what's going on. On Windows, I won't write |
I'm going to close this one for now, Windows isn't really something we can support unfortunately |
OK, thank you for the consideration. |
commenting this here as this is still the first result when searching for atuin windows |
First of all, Atuin solved annoyances of bash history for me. Thank you so much!
Slightly related to #84, but I want to use Atuin with MSYS2 bash on Windows.
I tried to build Atuin with the following changes and it works fine on Windows Terminal.
[patch.crates-io]
.server
command at all.Unfortunately, it is not clear when/whether the MR is merged.
I think another option is to switch crossterm which already supports Windows. But it requires some code changes.
The text was updated successfully, but these errors were encountered: