update readme, fake separate input and num buffers

pull/14/head
dvkt 5 years ago
parent 5063f454f9
commit 318bcdb17d

@ -54,7 +54,6 @@ just unzip/untar the `phetch` program into your $PATH and get going!
## todo ## todo
- [ ] fork+exec telnet: gopher://bitreich.org/1/lawn/bbs - [ ] fork+exec telnet: gopher://bitreich.org/1/lawn/bbs
- [ ] improve render() performance
- [ ] text views are menus when URLs are present (one per line max) - [ ] text views are menus when URLs are present (one per line max)
- [ ] Find Text in Text views - [ ] Find Text in Text views
- [ ] TLS -- https://dataswamp.org/~solene/2019-03-07-gopher-server-tls.html - [ ] TLS -- https://dataswamp.org/~solene/2019-03-07-gopher-server-tls.html
@ -62,9 +61,9 @@ just unzip/untar the `phetch` program into your $PATH and get going!
## bugs ## bugs
- [ ] gopher://1436.ninja/1/twit.cgi ("iWritten and performed by Nathaniel" weirdness) - [ ] gopher://1436.ninja/1/twit.cgi ("iWritten and performed by
- [ ] screen flicker in win10 WSL Nathaniel" weirdness) (kitty only)
- [ ] NUM entry and Find entry shouldn't use same input buffer - [ ] gopherpedia 'recent entries' weirdness (also kitty only)
- [ ] ctrl-z (suspend) doesn't work - [ ] ctrl-z (suspend) doesn't work
## v1.0 ## v1.0

@ -367,7 +367,6 @@ impl Menu {
} }
// if text is entered, find previous match // if text is entered, find previous match
// TODO fix number input like this
if self.searching && !self.input.is_empty() { if self.searching && !self.input.is_empty() {
if let Some(pos) = self.rlink_matching(self.link, &self.input) { if let Some(pos) = self.rlink_matching(self.link, &self.input) {
return self.action_select_link(pos); return self.action_select_link(pos);
@ -660,6 +659,7 @@ impl Menu {
} }
Key::Char('f') | Key::Ctrl('f') | Key::Char('/') | Key::Char('i') | Key::Ctrl('i') => { Key::Char('f') | Key::Ctrl('f') | Key::Char('/') | Key::Char('i') | Key::Ctrl('i') => {
self.searching = true; self.searching = true;
self.input.clear();
self.redraw_input() self.redraw_input()
} }
Key::Char('w') | Key::Ctrl('w') => { Key::Char('w') | Key::Ctrl('w') => {

Loading…
Cancel
Save