2
0
mirror of https://github.com/xvxx/phetch synced 2024-11-16 21:25:45 +00:00
Commit Graph

527 Commits

Author SHA1 Message Date
dvkt
5e3c50a7c7 not you 2020-01-06 10:37:50 -08:00
dvkt
df4663b3ce fail on unknown cmdline arguments 2020-01-06 10:30:35 -08:00
dvkt
5688e8c4bb cargo build --features disable-tls 2020-01-06 10:26:58 -08:00
dvkt
af449a6402 show build details on About screen 2020-01-06 10:18:27 -08:00
dvkt
133ed96831 --features tls 2020-01-06 02:10:14 -08:00
dvkt
8412f9892a simpler style 2020-01-06 01:30:29 -08:00
dvkt
e8c6a5b1ef fix url arg parsing 2020-01-06 01:24:15 -08:00
dvkt
925db458fc ll 2020-01-06 01:15:44 -08:00
dvkt
967c2f018e too bold 2020-01-06 01:13:03 -08:00
dvkt
07c3d4098c show TLS status in bottom right 2020-01-06 00:47:50 -08:00
dvkt
9128ffc85b track which pages are loaded via tls 2020-01-06 00:37:08 -08:00
dvkt
7148ddd999 enable try tls mode 2020-01-06 00:26:05 -08:00
dvkt
612bbffa28 --tls 2020-01-06 00:16:51 -08:00
dvkt
b86f574ffc try tls first on every request 2020-01-06 00:11:50 -08:00
dvkt
5aaa04c9a7 request not get 2020-01-05 23:49:57 -08:00
dvkt
d0dfeae29b /// 2020-01-05 23:47:13 -08:00
dvkt
cb1efced5f give gopher::Type its own file 2020-01-05 23:38:19 -08:00
dvkt
201a0592e4 die on fatal errors 2020-01-04 14:52:40 -08:00
dvkt
8e0a72f74c check for updates 2020-01-04 14:13:01 -08:00
dvkt
12739ba218 store host triple during build 2020-01-04 14:12:25 -08:00
dvkt
c1b26186e1 more clear 2020-01-04 12:04:51 -08:00
dvkt
d3b9412973 todo later 2020-01-04 11:48:45 -08:00
dvkt
2fa5307db3 fix cursor in wide mode 2020-01-04 11:46:58 -08:00
dvkt
10b4c8adf1 -l to quick connect to a local gopher server 2020-01-04 11:40:30 -08:00
dvkt
991c8c96a4 grab term size on startup 2020-01-04 11:36:14 -08:00
dvkt
d7d246b3f0 bug url 2020-01-04 10:16:48 -08:00
dvkt
9f6b79ff6c notes 2020-01-04 10:15:04 -08:00
dvkt
edee36ce09 dont wrap on down arrow if no links 2020-01-04 01:23:34 -08:00
dvkt
ca1403476b use helper 2020-01-04 00:39:40 -08:00
dvkt
07b765f948 clippy 2020-01-04 00:39:24 -08:00
dvkt
d307d79fe6 use terminal codes to clear lines, fix a few text bugs 2020-01-02 22:49:42 -08:00
dvkt
19c962da2f bookmarks append to the file 2020-01-02 18:59:09 -08:00
dvkt
f8ef98b032 don't auto prepend / to selectors 2020-01-02 18:56:15 -08:00
dvkt
65d64a2b78 don't clear status on None 2020-01-02 18:56:05 -08:00
dvkt
eeed189aa5 show error on no page loaded 2020-01-02 16:09:20 -08:00
dvkt
857ca25b08 dont spin on first request 2020-01-02 16:00:52 -08:00
dvkt
318bcdb17d update readme, fake separate input and num buffers 2020-01-02 15:58:58 -08:00
dvkt
849353e4cf link to gopherhole 2020-01-02 14:40:49 -08:00
dvkt
66c5772cf9 these are the bad ones 2020-01-02 14:32:17 -08:00
dvkt
2039309d9c spacer.gif 2020-01-02 14:30:51 -08:00
dvkt
05280c350c render \t as 4 spaces 2020-01-02 14:25:08 -08:00
dvkt
b94f612bc1 Revert "the \rs are acting funny on my dumb terminal"
This reverts commit 9eb7e1ca59.
2020-01-02 14:11:44 -08:00
dvkt
9eb7e1ca59 the \rs are acting funny on my dumb terminal 2020-01-02 14:08:22 -08:00
dvkt
0a1fabce08 ignore trailing \r 2020-01-02 13:36:21 -08:00
dvkt
e6b0c1243a use q to quit 2020-01-02 13:18:26 -08:00
dvkt
f9428256a8 clear status once per loop 2020-01-02 13:14:27 -08:00
dvkt
38f09f7893 use Action::List when selecting a link 2020-01-02 13:08:54 -08:00
dvkt
1743322c16 missing macro dependency 2020-01-02 13:08:34 -08:00
dvkt
19b549603c Action::List 2020-01-02 13:06:12 -08:00
dvkt
e986f34fc7 impl Debug for Action 2020-01-02 13:06:00 -08:00
dvkt
a51e936d56 use Action::Status on menu search 2020-01-02 12:46:15 -08:00
dvkt
56a63c5b34 check maths 2020-01-02 12:37:04 -08:00
dvkt
debcbd4c8a always write status line 2020-01-02 12:36:59 -08:00
dvkt
44ca7fbc56 use reset_cursor on select_link 2020-01-02 12:21:31 -08:00
dvkt
5a78ca16c1 clear empty status line 2020-01-02 11:52:29 -08:00
dvkt
16e12b6c57 use ? 2020-01-02 11:49:30 -08:00
dvkt
6c5c714876 find screen coords of a link 2020-01-02 11:47:09 -08:00
dvkt
45c389cd0a sure 2020-01-02 11:39:39 -08:00
dvkt
273a3a95f6 down arrow jumps between matches only when searching 2020-01-02 11:25:26 -08:00
dvkt
09888b6c82 cursor weirdness 2020-01-02 11:01:50 -08:00
dvkt
e2bfc0d94c use termion 2020-01-02 11:00:39 -08:00
dvkt
80566681a0 use Draw for cursor 2020-01-02 10:39:34 -08:00
dvkt
fdfa5d69f2 stop printing from menu, use Draw 2020-01-02 10:37:36 -08:00
dvkt
2452e2e856 Action::Draw 2020-01-02 10:37:30 -08:00
dvkt
cf5796be5b UntilNewline 2020-01-02 10:11:25 -08:00
dvkt
22c0025766 sniper rifle cursor drawing 2020-01-02 10:11:19 -08:00
dvkt
e7132a0bc8 redraw screen instead of clearing 2020-01-01 19:01:10 -08:00
dvkt
1efd659a1d Re-enable native mouse behavior 2019-12-31 11:30:22 -08:00
dvkt
e96552c012 whitespace 2019-12-31 10:04:34 -08:00
dvkt
ba1c28d96e home/end in menu selects first/last link now 2019-12-31 02:00:29 -08:00
dvkt
ee7f5ef670 Fix home/end 2019-12-31 01:48:46 -08:00
dvkt
43827e5849 consistent final scrolling position 2019-12-31 00:45:17 -08:00
dvkt
8208440857 wrap around now scrolls to start 2019-12-31 00:44:01 -08:00
dvkt
95427077d8 start keeping stdout around 2019-12-31 00:43:57 -08:00
dvkt
d5b315d7fb exit properly 2019-12-30 23:54:59 -08:00
dvkt
856b582a79 is_visible() 2019-12-30 22:46:30 -08:00
dvkt
f9a7c76552 fix (and saneify) pg dn 2019-12-30 21:55:02 -08:00
dvkt
79c2c5e7a3 don't need 2019-12-30 21:33:24 -08:00
dvkt
82779f5f2a clippy 2019-12-30 20:44:51 -08:00
dvkt
ed1578eeea text mode: fix w shortcut 2019-12-27 20:13:25 -08:00
dvkt
3b44ea0fd9 default selector is empty, not / 2019-12-27 18:47:56 -08:00
dvkt
8e46f7fd04 trailing slash assumptions 2019-12-27 11:58:16 -08:00
dvkt
6080782cf4 add gopherpedia to start page 2019-12-27 11:58:06 -08:00
dvkt
e609d66359 trim trailing /1/ from bookmarks 2019-12-27 11:45:02 -08:00
dvkt
a48bfbc4fa don't try to open unsupported types 2019-12-27 11:43:40 -08:00
dvkt
415a918e08 about phetch 2019-12-27 11:37:32 -08:00
dvkt
7b4e65d08a wrong link 2019-12-27 10:53:28 -08:00
dvkt
8d88eb9088 circular navigation 2019-12-27 10:52:52 -08:00
dvkt
c815c01df4 is_visible and scroll_to 2019-12-27 10:44:34 -08:00
dvkt
a1cbff1614 fix for selectors without leading / 2019-12-27 00:22:56 -08:00
dvkt
0331963758 show error on non-match 2019-12-26 18:50:51 -08:00
dvkt
0b18015278 update other help files with new key commands 2019-12-26 16:20:23 -08:00
dvkt
0ca5d9bf72 less padding 2019-12-26 16:15:16 -08:00
dvkt
8d818bd745 more missing bindings 2019-12-26 16:06:46 -08:00
dvkt
fbc31f00db double up 2019-12-26 16:05:21 -08:00
dvkt
e3bf2d7d6a align text keys 2019-12-26 15:58:58 -08:00
dvkt
39043d1a06 draw spinner at bottom 2019-12-26 15:57:13 -08:00
dvkt
d11c0f0a6d 2018 style imports 2019-12-26 15:53:51 -08:00
dvkt
5a3d29307f j&k and for the vimmers 2019-12-26 15:50:19 -08:00
dvkt
a777a239ef esc doesn't quit 2019-12-26 15:49:40 -08:00
dvkt
7379b1b528 no bg on input prompt 2019-12-26 15:48:52 -08:00
dvkt
724849e50f update help with new single letter commands 2019-12-26 15:48:39 -08:00
dvkt
6f8c2ee843 here too 2019-12-26 15:27:48 -08:00
dvkt
d06b73f142 match ctrl or keypress 2019-12-26 15:27:01 -08:00
dvkt
bb19994e2e prepend bookmarks, at least 2019-12-26 15:15:02 -08:00
dvkt
e35f7969dc find 2019-12-26 15:05:23 -08:00
dvkt
d475cf1eaa search mode for menus 2019-12-26 14:34:11 -08:00
dvkt
12e4d75e17 command mode: just letters 2019-12-26 14:01:25 -08:00
dvkt
ae33aa2252 Action::Prompt vs ui::prompt() 2019-12-26 12:38:23 -08:00
dvkt
b007c6587e more hidden shortcuts 2019-12-26 12:17:25 -08:00
dvkt
c70f95620a impl Default 2019-12-24 17:23:27 -08:00
dvkt
ce9623d295 make clippy happy 2019-12-24 17:22:12 -08:00
dvkt
bbd759ddc8 to_char 2019-12-24 14:37:53 -08:00
dvkt
084b572b42 update to 2018 edition 2019-12-24 13:57:07 -08:00
dvkt
240e801d2b too big 2019-12-24 11:37:24 -08:00
dvkt
6f3b8aac49 style tweak 2019-12-24 11:37:14 -08:00
dvkt
f6837937b5 advertise ctrl-h 2019-12-24 09:20:43 -08:00
dvkt
25ae025a14 show correct version in -v 2019-12-24 00:29:20 -08:00
dvkt
b3f41e91ac unfancy 2019-12-24 00:27:38 -08:00
dvkt
0e71efcf21 space 2019-12-24 00:06:32 -08:00
dvkt
4b9d84dddc esc also quits now 2019-12-24 00:03:22 -08:00
dvkt
a612e9564a add quit/cancel to help 2019-12-24 00:00:21 -08:00
dvkt
7119c5f606 dont crash on 0 2019-12-23 23:59:06 -08:00
dvkt
8910fc359c ok 2019-12-23 20:05:29 -08:00
dvkt
74dfec6114 kill ellipses 2019-12-23 18:05:23 -08:00
dvkt
01956c5865 tighten up 2019-12-23 16:48:24 -08:00
dvkt
88f7571352 less 2019-12-23 16:02:40 -08:00
dvkt
326248d711 use title when opening 2019-12-23 15:30:33 -08:00
dvkt
155a20c1b9 bookmark and history help docs 2019-12-23 15:18:18 -08:00
dvkt
25cfcff2e3 move to utils 2019-12-23 14:37:16 -08:00
dvkt
5af1e798c9 parse_url detects non-gopher URLs 2019-12-23 14:12:20 -08:00
dvkt
864786415f phetch urls, not help url 2019-12-23 14:10:27 -08:00
dvkt
57096fc8b9 tweaks paths in marks and history 2019-12-23 13:56:34 -08:00
dvkt
b7f4131de5 fix history 2019-12-23 13:51:17 -08:00
dvkt
cc9036b5ce bookmarks + history errors 2019-12-23 12:44:20 -08:00
dvkt
731199837c expanded 2019-12-23 12:28:53 -08:00
dvkt
f5c54ea028 shuffle 2019-12-23 12:28:24 -08:00
dvkt
332730aa34 utils 2019-12-23 11:57:40 -08:00
dvkt
cad9386bf0 start on history and bookmarks help 2019-12-23 11:28:32 -08:00
dvkt
5f875d9920 err when trying to save bookmark 2019-12-23 11:06:52 -08:00
dvkt
76d9396c90 todo 2019-12-23 00:46:03 -08:00
dvkt
73ea0fa1c6 fix bookmarks 2019-12-23 00:36:04 -08:00
dvkt
9bb2d1f8bb wire up bookmarks 2019-12-23 00:24:28 -08:00
dvkt
6c8f43f68a save bookmark 2019-12-23 00:23:06 -08:00
dvkt
05b8e6ef56 config, bookmarks 2019-12-23 00:22:08 -08:00
dvkt
06b5745bd5 config 2019-12-23 00:09:18 -08:00
dvkt
d9d10084cc hacky, but ignore help urls 2019-12-22 23:42:02 -08:00
dvkt
0293200d92 clear 2019-12-22 23:41:50 -08:00
dvkt
b557edd5be unknown 2019-12-22 23:41:45 -08:00
dvkt
3ee60b1fee open errors 2019-12-22 15:25:01 -08:00