Ben S
|
6ade060eb6
|
Use curlies consistently
|
2014-11-25 20:50:23 +00:00 |
|
Ben S
|
bcaf54d7dd
|
Add a flag to print directories as files
Also, re-use the stat result from directory-checking.
|
2014-11-25 01:27:26 +00:00 |
|
Ben S
|
cbd2f1fa37
|
List files and directories separately
This finally fixes the issue where trying to list a file causes a crash. Also, tidy up some of the uses of references.
|
2014-11-24 17:03:36 +00:00 |
|
Ben S
|
d72be30c30
|
Reduce unnecessary String allocations
- Remove uses of to_string() on a &str where it wasn't necessary
- Use SendStr to reduce allocations further
|
2014-11-24 02:01:08 +00:00 |
|
Ben S
|
c75bbf7f79
|
Add path to symlinks
|
2014-11-24 01:48:51 +00:00 |
|
Ben S
|
03ecb8c9e1
|
Fix bug with empty directories
|
2014-11-24 01:24:45 +00:00 |
|
Ben S
|
d7b8b230ef
|
Remove containers from file name in grid view
What a strange bug to happen
|
2014-11-23 21:57:33 +00:00 |
|
Ben S
|
933f98d2c3
|
Upgrade to latest Rust nightly
|
2014-11-23 21:29:11 +00:00 |
|
Ben S
|
fb8821164c
|
Misc style changes
|
2014-07-22 22:27:37 +01:00 |
|
Ben S
|
44a9819417
|
Add --oneline option
Also, rename old 'lines' view to 'details' which makes more sense
|
2014-07-22 20:47:30 +01:00 |
|
Ben S
|
cf3e32c9c1
|
Get terminal width for grid view (resolve #1)
|
2014-07-22 15:41:20 +01:00 |
|
Ben S
|
4cbc1f063a
|
Upgrade to latest Rust nightly
- Lifetime changes in unix.rs
- lexical_ordering -> cmp
- from_utf8_lossy got moved into String
- vec.get(n) -> vec[n]
|
2014-07-21 22:05:04 +01:00 |
|
Ben S
|
90099f28cf
|
Upgrade to latest Rust nightly
- change to_string() on numbers to to_str()
|
2014-07-10 22:20:52 +01:00 |
|
Ben S
|
92ccf821ff
|
Colour file names in grid view
|
2014-07-06 18:00:27 +01:00 |
|
Ben S
|
cfb0fa9b72
|
Import Paint trait from rust-ansi-term
|
2014-07-04 09:54:14 +01:00 |
|
Ben S
|
d2647df0ca
|
Move some stuff out to rust-ansi-term crate
|
2014-07-01 19:00:36 +01:00 |
|
Ben S
|
44628ba6e2
|
Standardise on a grey
|
2014-06-30 02:04:36 +01:00 |
|
Ben S
|
0a1d3f56ec
|
Add guard to get_source_files
|
2014-06-30 02:00:05 +01:00 |
|
Ben S
|
c494c0cd22
|
Don't scan the filename string twice
|
2014-06-30 01:51:11 +01:00 |
|
Ben S
|
df65886d6d
|
Properly handle invalid UTF-8 filenames
|
2014-06-29 21:02:14 +01:00 |
|
Ben S
|
a8465fed45
|
Move to Cargo
|
2014-06-28 17:24:20 +01:00 |
|