2
0
mirror of https://github.com/xvxx/phetch synced 2024-11-12 13:10:40 +00:00
Commit Graph

596 Commits

Author SHA1 Message Date
chris west
e28a5469a4 basic wrap tests 2020-11-13 22:12:22 -08:00
chris west
6825891b88 toggle global encoding on ctrl-e 2020-11-11 16:59:40 -08:00
chris west
cf9e16650e share config so we can modify it in views 2020-11-11 16:59:03 -08:00
chris west
c07656509f better error message 2020-11-11 16:32:37 -08:00
chris west
fa3dd26db5 use config encoding's setting 2020-11-11 16:32:20 -08:00
chris west
40479908a8 encoding config option 2020-11-11 16:30:05 -08:00
chris west
4f652a7209 --encoding cli flag 2020-11-11 16:28:40 -08:00
chris west
3d6e05c081 ctrl-e toggle encoding 2020-11-11 15:51:20 -08:00
chris west
a5c645f402 cp437 test 2020-11-11 15:48:15 -08:00
chris west
400fe770a9 simplify status line & show cp439 in it 2020-11-11 15:36:43 -08:00
chris west
5df09aead9 add encoding() to View trait 2020-11-11 15:36:43 -08:00
chris west
41324a0ff3 CP437 support 2020-11-11 15:36:43 -08:00
chris west
06344f734a 📎📎📎 2020-11-11 15:36:01 -08:00
chris west
ffa2083740 add NO_COLOR support — https://no-color.org/ 2020-11-10 21:52:54 -08:00
chris west
993ce83800 fix clippyisms 2020-10-23 14:19:21 -07:00
chris west
3c057b56f9 -c flag wasn't eating its argument 2020-10-23 14:12:29 -07:00
chris west
38e660ccb6 also try all socket_addrs for tls and tor 2020-10-02 23:50:40 -07:00
chris west
015c7878cc try to connect to socket_addrs(), not just 1st 2020-10-02 01:58:08 -07:00
chris west
1b02d330d9 fix reloading logic 2020-09-30 18:41:55 -07:00
chris west
6e55457f26 only redraw on F5, don't reload 2020-09-28 09:06:27 -07:00
chris west
5fb8f14586 Revert "F5 fully reloads page"
This reverts commit 2da3a20c4e.
2020-09-28 09:05:40 -07:00
chris west
2da3a20c4e F5 fully reloads page 2020-09-26 12:40:17 -07:00
chris west
4d47287849 ctrl+u can reload the current page 2020-09-26 12:22:32 -07:00
chris west
ac77420ba9 hook up --media flag 2020-05-30 11:36:29 -07:00
chris west
b6cea29372 un-gate media feature 2020-05-30 11:12:48 -07:00
chris west
1359a4eb49 add -m, -M flags for media 2020-05-30 11:10:27 -07:00
chris west
596c8042ed use Line & LineIter instead of passing raw text around 2020-05-30 10:23:43 -07:00
chris west
d814268d7e clear screen before launching media player 2020-05-23 13:09:51 -07:00
chris west
7157faf16d re-enable raw mode on media error 2020-05-23 13:02:42 -07:00
chris west
f8c808e8f3 prompt before opening media player 2020-05-23 12:48:28 -07:00
chris west
c1dc7a1b84 whitespace 2020-05-23 12:45:22 -07:00
chris west
67021ea036 mention media in README 2020-05-23 12:45:16 -07:00
chris west
65c8403e0e experimental media player support w/ media feature 2020-05-23 12:38:15 -07:00
chris west
88cc95c59f don't quit parent when child receives SIGINT 2020-05-23 12:19:15 -07:00
chris west
cd350b15b9 Show unknown types as binary (downloads) 2020-05-23 11:41:28 -07:00
chris west
7fb209206a to_char always works 2020-05-23 11:26:16 -07:00
chris west
23c76e483b tiny test for new types 2020-05-23 10:52:09 -07:00
kim (grufwub)
81fcecb85d add new gopher item types + function check for media files
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-23 10:38:44 -07:00
chris west
e034c66a4f test color counting 2020-05-14 16:43:52 -07:00
chris west
91ffcb459a dont need to peek 2020-05-14 16:07:26 -07:00
chris west
384cbe0939 only run through lines that have colors 2020-05-14 15:10:20 -07:00
chris west
575ebdbd01 ignore colors when calculating line length 2020-05-14 14:56:49 -07:00
chris west
05b78919cd use log! results 2020-05-14 14:42:56 -07:00
chris west
1146f42174 raw mode in main. fixes panics 2020-05-14 11:25:49 -07:00
chris west
fb3e3940db enter raw mode on our own
termion wants you to pass around a RawTerminal
struct that wraps Stdout, which is probably "right"
but it's easier to do it the C way and treat stdout
as a shared global resource.
2020-05-14 11:24:23 -07:00
chris west
4e97579932 always shutdown() on drop() 2020-05-13 23:13:46 -07:00
chris west
c002f2adc1 more idiomatic cli errors 2020-05-13 23:12:22 -07:00
chris west
9a635870d3 update changelog 2020-05-13 13:28:43 -07:00
chris west
d925124807 resize on SIGWINCH 2020-05-13 13:23:14 -07:00
chris west
1b1d1fc8f3 use channels for keyboard events
this fixes the 'cancel download' bug
2020-05-13 12:52:52 -07:00