summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2019-12-30 01:48:27 +0300
committerChristian Duerr <contact@christianduerr.com>2019-12-29 22:48:27 +0000
commitd4dc1f7b14e7d8016854ac526c2e1c6024a7ddc1 (patch)
tree721cc26d197a1853cccf249749d31c9c35277119
parent9da0c042d4d4ef72b4488424df5c20d14d4e9585 (diff)
downloadalacritty-d4dc1f7b14e7d8016854ac526c2e1c6024a7ddc1.tar.gz
alacritty-d4dc1f7b14e7d8016854ac526c2e1c6024a7ddc1.zip
Remove outdated information from README
-rw-r--r--README.md7
-rw-r--r--alacritty_terminal/src/tty/windows/winpty.rs8
2 files changed, 1 insertions, 14 deletions
diff --git a/README.md b/README.md
index fee19f51..6409c451 100644
--- a/README.md
+++ b/README.md
@@ -212,11 +212,6 @@ running on another machine which is connected to Alacritty via SSH, this issue
disappears. Actual throughput and rendering performance are still better in
Alacritty.
-**_My arrow keys don't work._**
-
-It sounds like you deleted some key bindings from your config file. Please
-reference the default config file to restore them.
-
## IRC
Alacritty discussion can be found in `#alacritty` on freenode.
@@ -235,6 +230,4 @@ env WINIT_UNIX_BACKEND=x11 alacritty
Alacritty is released under the [Apache License, Version 2.0].
[Apache License, Version 2.0]: https://github.com/jwilm/alacritty/blob/master/LICENSE-APACHE
-[faq]: https://github.com/jwilm/alacritty#faq
[tmux]: https://github.com/tmux/tmux
-[Wayland meta issue]: https://github.com/tomaka/winit/issues/306
diff --git a/alacritty_terminal/src/tty/windows/winpty.rs b/alacritty_terminal/src/tty/windows/winpty.rs
index 4ab4d059..0d2421b0 100644
--- a/alacritty_terminal/src/tty/windows/winpty.rs
+++ b/alacritty_terminal/src/tty/windows/winpty.rs
@@ -13,7 +13,6 @@
// limitations under the License.
use std::fs::OpenOptions;
-use std::io;
use std::os::windows::fs::OpenOptionsExt;
use std::os::windows::io::{FromRawHandle, IntoRawHandle};
use std::u16;
@@ -32,17 +31,12 @@ use crate::tty::windows::Pty;
pub use winpty::Winpty as Agent;
-/// How long the winpty agent should wait for any RPC request
-/// This is a placeholder value until we see how often long responses happen
-const AGENT_TIMEOUT: u32 = 10000;
-
pub fn new<C>(config: &Config<C>, size: &SizeInfo, _window_id: Option<usize>) -> Pty {
// Create config
let mut wconfig = WinptyConfig::new(ConfigFlags::empty()).unwrap();
wconfig.set_initial_size(size.cols().0 as i32, size.lines().0 as i32);
wconfig.set_mouse_mode(&MouseMode::Auto);
- wconfig.set_agent_timeout(AGENT_TIMEOUT);
// Start agent
let mut agent = Winpty::open(&wconfig).unwrap();
@@ -101,7 +95,7 @@ impl OnResize for Agent {
let (cols, lines) = (sizeinfo.cols().0, sizeinfo.lines().0);
if cols > 0 && cols <= u16::MAX as usize && lines > 0 && lines <= u16::MAX as usize {
self.set_size(cols as u16, lines as u16)
- .unwrap_or_else(|_| info!("Unable to set winpty size, did it die?"));
+ .unwrap_or_else(|_| info!("Unable to set WinPTY size, did it die?"));
}
}
}