Commit Graph

625 Commits (master)

Author SHA1 Message Date
chris west 2da3a20c4e F5 fully reloads page 4 years ago
chris west 4d47287849 ctrl+u can reload the current page 4 years ago
chris west ac77420ba9 hook up --media flag 4 years ago
chris west b6cea29372 un-gate media feature 4 years ago
chris west 1359a4eb49 add -m, -M flags for media 4 years ago
chris west 596c8042ed use Line & LineIter instead of passing raw text around 4 years ago
chris west d814268d7e clear screen before launching media player 4 years ago
chris west 7157faf16d re-enable raw mode on media error 4 years ago
chris west f8c808e8f3 prompt before opening media player 4 years ago
chris west c1dc7a1b84 whitespace 4 years ago
chris west 67021ea036 mention media in README 4 years ago
chris west 65c8403e0e experimental media player support w/ `media` feature 4 years ago
chris west 88cc95c59f don't quit parent when child receives SIGINT 4 years ago
chris west cd350b15b9 Show unknown types as binary (downloads) 4 years ago
chris west 7fb209206a to_char always works 4 years ago
chris west 23c76e483b tiny test for new types 4 years ago
kim (grufwub) 81fcecb85d add new gopher item types + function check for media files
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
4 years ago
chris west e034c66a4f test color counting 4 years ago
chris west 91ffcb459a dont need to peek 4 years ago
chris west 384cbe0939 only run through lines that have colors 4 years ago
chris west 575ebdbd01 ignore colors when calculating line length 4 years ago
chris west 05b78919cd use log! results 4 years ago
chris west 1146f42174 raw mode in main. fixes panics 4 years ago
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.
4 years ago
chris west 4e97579932 always shutdown() on drop() 4 years ago
chris west c002f2adc1 more idiomatic cli errors 4 years ago
chris west 9a635870d3 update changelog 4 years ago
chris west d925124807 resize on SIGWINCH 4 years ago
chris west 1b1d1fc8f3 use channels for keyboard events
this fixes the 'cancel download' bug
4 years ago
chris west 2ccd55dad7 note 4 years ago
chris west 88aae700d7 clippy 4 years ago
✨ Q (it/its) ✨ 8ce045ef16
Fix #13 4 years ago
chris west f1fe58d248 strip unreadable characters (vs replace with ?) 4 years ago
chris west 56b2ef65f9 test clean_response 4 years ago
chris west 358b1ed02a not anymore 4 years ago
chris west a4fd553431 start wrapping termion 4 years ago
chris west e4ce7a45be clean up on cancelled download 4 years ago
chris west 24ba3fb636 Page -> View, kill some pubs 4 years ago
chris west 8f7a9cedc3 add some criterion benchmarks 4 years ago
chris west e32d0c9da5 views remember their wide mode setting 4 years ago
chris west 6a429c8a86 count chars, not bytes 4 years ago
chris west f37ab17084 simpler -v 4 years ago
chris west 839c4132d5 Don't print trailing \r 4 years ago
chris west e110f262a2 Fix crash on long menus with no links 4 years ago
chris west 2fee4c3700 group `use` 4 years ago
chris west 05235abd91 check bounds, fix slice math 4 years ago
chris west 3242996189 make menu lines just refs, not duplicated strings 4 years ago
chris west 44b4648ce7 wrong url 4 years ago
chris west 05f10f40e7 fetch() -> load() 4 years ago
chris west 428392f569 fix for nix 4 years ago
chris west 708e95b640 slightly nicer clipboard/open errors 4 years ago
chris west c40997f0cd move utils to utils 4 years ago
chris west caedc35c90 fix bug in text urls 4 years ago
chris west 301f022c22 ignore trailing whitespace on URL arg 4 years ago
chris west 49718a9ca8 fix .onion URLs 4 years ago
chris west 45d0ccfc32 missing doc 4 years ago
chris west dce0729e7a deal with unused return values 4 years ago
chris west d34a1e4352 clippy 4 years ago
chris west a3644a672f almost everything is a link 4 years ago
chris west 52f1e88ec2 kill more color allocations, missed a few usages 4 years ago
chris west 71a2394d73 kill some unneeded format! calls 4 years ago
chris west 2e277b14cf kill needless color allocations 4 years ago
chris west 07011b7175 menu::parse, not menu::Menu::parse 4 years ago
chris west 9ce524dd1f explictily do nothing on Run 4 years ago
chris west e2f69f5c1e Don't load phetch.conf in tests 4 years ago
chris west 617bd25c0e Type::is_text() 4 years ago
chris west a8c8b255a4 redundant 4 years ago
chris west 51f401394a gopher::type_for_url() 4 years ago
chris west d66a9c610c parse_url returns simple struct, not tuple 4 years ago
chris west 999171e0e5 line.name => line.text 4 years ago
chris west 61e4942ecb fix info lines 4 years ago
chris west 89291da67b move String instead of re-alloc 4 years ago
chris west 9c64f7c420 clippy 4 years ago
chris west 344e4d7e5f shorter 4 years ago
chris west ee8dfa9c79 extract menu line parsing 4 years ago
chris west 692fbbc554 type gets impl fmt::Display 4 years ago
chris west 3c321c53da fewer Strings, more refs 4 years ago
chris west ae280b4a61 off by 1 4 years ago
chris west 2d71e5da6c More basic doc 4 years ago
chris west 537be056cb Start making `missing_docs` happy 4 years ago
chris west eecaf79d8a crate doc 4 years ago
chris west f03c6e1422 make clippy happy 4 years ago
chris west 75ac066caa `--no-default-features` to disable tls, tor 4 years ago
chris west 2bd48f7a2d don't let \n into status line 4 years ago
chris west bdcc3c9d0d Raw mode works the same with or without a tty 4 years ago
chris west b529e9c1cb more notes 4 years ago
chris west dd4e47dc8e some notes 4 years ago
chris west 349b1c6ba6 don't do TTY stuff in tests 4 years ago
chris west 37170c4ee2 only load conf if phetchdir exists 4 years ago
chris west 9702633354 check -C and -c first so order of args doesnt matter 4 years ago
chris west 0d3cd1c3af missing --no-config (-C worked) 4 years ago
chris west 28ac8beb10 tests for cmdline arg parsing 4 years ago
chris west 075e82d2d0 save some space 4 years ago
chris west 39cfbcf21e show full text with -p too 4 years ago
chris west 8645571d7a print a plain version when no tty 4 years ago
chris west c951731e58 mode gets its own little file 4 years ago
chris west ab364c5b8a --print shows all lines 4 years ago
chris west 7cf9e25c6b handle switching screens on our own
print mode doesn't want alternate mode,
so we won't use it in that case
4 years ago
chris west d587df8def Add new flags to manpage 4 years ago
chris west be12941ce3 add --config and --no-config 4 years ago