From ff5a3179e1cfa96d2b42abbb4686eb8f075771e3 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 4 Mar 2018 17:17:37 -0800 Subject: [PATCH] new windows with Cmd-N --- README.md | 3 ++- term/src/terminalstate.rs | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e95a099a4..045c179dc 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,8 @@ the middle of Feb 2018. The following features are done: - [x] Render underline, double-underline, italic, bold, strikethrough - [x] Configuration file to specify fonts and colors - [x] Hyperlinks per: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda -- [x] Multiple Windows (Hotkey: `Alt-Y` but I don't like it) and Tabs (Hotkey: `Super-T`, next/prev: `Super-[` and `Super-]`, go-to: `Super-[0-9]`) +- [x] Multiple Windows (Hotkey: `Super-N`) +- [x] Tabs (Hotkey: `Super-T`, next/prev: `Super-[` and `Super-]`, go-to: `Super-[0-9]`) There's a good number of terminal escape sequences that are not yet implemented and that will get fleshed out as the applications I use uncover them, or as folks diff --git a/term/src/terminalstate.rs b/term/src/terminalstate.rs index b77004fbe..611d4b329 100644 --- a/term/src/terminalstate.rs +++ b/term/src/terminalstate.rs @@ -618,9 +618,7 @@ impl TerminalState { // TODO: also respect self.application_keypad - // TODO: I don't really like this key assignment, but for the sake of - // testing, I'm just jamming something in. - if mods == KeyModifiers::SUPER && key == KeyCode::Char('y') { + if mods == KeyModifiers::SUPER && key == KeyCode::Char('n') { host.new_window(); return Ok(()); }