Commit Graph
1192 Commits
Author SHA1 Message Date
Joe Lim 4666a0b875 Simplify percentage calculation (#1987) 2025-05-12 19:29:00 +10:00
Joe Lim 7158e09033 Prevent negative index for bottom in empty dir (#1986) 2025-05-12 14:43:39 +10:00
Joe Lim e7ea6c6d0d Add scroll percentage to rulerfmt option (#1985) 2025-05-12 14:28:26 +10:00
Joe Lim fea705ef7f Fixes for new sixel implementation (#1983) 2025-05-11 13:16:58 +10:00
Joe Lim 12f235fac9 Reload if any component in current path is renamed (#1982) 2025-05-11 12:39:09 +10:00
Joe Lim 62cbe0b6b5 Apply preserve mode for directories (#1981) 2025-05-11 10:40:20 +10:00
Joe Lim 84c57cc58a Apply preserve timestamps for directories (#1979)
* Refactor preserve functionality

* Keep changes minimal
2025-05-11 10:25:57 +10:00
dependabot[bot] 11b0d4e238 Bump golang.org/x/text from 0.24.0 to 0.25.0 (#1974)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-07 11:11:12 +10:00
dependabot[bot] f175d7ed30 Bump golang.org/x/term from 0.31.0 to 0.32.0 (#1973)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/term/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-07 10:49:12 +10:00
yarikandyarik ce13438ab4 fix "slice bounds out of range" in cmd-delete-word-back (#1976)
Co-authored-by: yarik <dazzywi@github.com>
2025-05-07 10:46:34 +10:00
Joe Lim 6616c9c119 Restrict mode prefixes for cmd-history (#1971) 2025-04-28 13:36:59 +10:00
Joe Lim 40770d7dee cleanup (#1970) 2025-04-28 13:07:04 +10:00
KuchteqandMariusz Kuchta 7a89808688 Make sixel output flicker free (#1943)
* Make sixel output flicker free

* Address pr comments

* Lock regions based on sixel dimensions

This fixes issues related to clearing the previous sixel data

* name changes and extra error handeling

* Apply force clearing changes and change log messages

* Delete missleading comment

* check pixel dimensions

* correct cell dimensions checking

* Add force clearing on image update

---------

Co-authored-by: Mariusz Kuchta <mariusz@kuchta.dev>
2025-04-28 12:26:27 +10:00
Joe Lim 3d205f05e3 Prepare for r35 release (#1967) r35 2025-04-25 11:23:45 +10:00
Joe Lim 1cb9e9d14a Add tty-write command (#1961)
This command offers a synchronized way to write to /dev/tty.
2025-04-13 11:14:00 +10:00
Joe Lim 0df0c0f5ff Simpler implementation of dirpreviews (#1958) 2025-04-10 15:34:13 +10:00
Joe Lim 3d5a418c6c Use Screen.Clear for clearing the screen (#1957) 2025-04-09 21:51:05 +10:00
Joe Lim 841cc3da06 Handle arrow keys when waiting for key press (#1956) 2025-04-09 19:03:19 +10:00
MahouShoujoMivutilde 1878faa942 Implement files query to export files in the current directory as (#1949)
presented in lf (including filter/sorting)

`lf -remote "query $id files"`

This version updates `files` list only before running shell commands.
2025-04-09 16:37:55 +10:00
dependabot[bot] 3fdd991040 Bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0 (#1953)
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 14:38:00 +10:00
dependabot[bot] 9cad75867d Bump golang.org/x/term from 0.30.0 to 0.31.0 (#1952)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/term/compare/v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 14:37:48 +10:00
dependabot[bot] 970b31852d Bump golang.org/x/text from 0.23.0 to 0.24.0 (#1951)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 14:32:19 +10:00
Joe Lim ffe4c97560 Change menu contents to be a string (#1954) 2025-04-07 14:23:25 +10:00
Joe Lim 6718a36334 Bump dependencies (#1941) 2025-03-30 16:37:32 +11:00
Joe Lim ad6fa3fa73 Fix crash if log file can't be opened (#1937) 2025-03-21 18:56:13 +11:00
Joe Lim 9b1f8386fa Add support for underline colors (#1933) 2025-03-15 13:01:17 +11:00
Joe Lim 26259f777f Add function for parsing SGR colors (#1932)
* Add function for parsing SGR colors

* Change error message

* Fix break out of loop

* Fix typo
2025-03-15 12:37:44 +11:00
Dusan Lesan 9dc4e6b431 Update screenshots (#1924)
cc #1919
2025-03-06 09:50:25 +11:00
Joe Lim 0e66d02746 Use clear for clearing maps (#1923) 2025-02-23 19:56:50 +11:00
Joe Lim 938e02e126 cleanup (#1922) 2025-02-23 17:14:19 +11:00
David Pedersen 2a3292560d Apply modernization fixes (#1921) 2025-02-23 17:05:20 +11:00
Joe Lim f9813744f7 Add dircounts to setlocal options (#1920)
* Remove plural from setlocal variable names

* Add `dircounts` for `setlocal`

* Update documentation

* Fix failing test
2025-02-19 10:43:15 +11:00
valoqandJoe Lim b087bf7d80 verify the Trash directory exists before moving files there (#1918)
* verify the Trash directory exists before moving files there

* Update etc/lfrc.example

Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com>

---------

Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com>
2025-02-19 10:38:33 +11:00
David Pedersen c42942d53e Remove redundant strconv in diacritics test (#1917) 2025-02-14 15:45:21 +11:00
Joe Lim 74b2954e6a Handle leading zeros in SGR escape sequences (#1912) 2025-02-10 17:13:34 +11:00
Penn Bauman 7797ad695f fix non-constant format string (#1910) 2025-02-10 12:04:49 +11:00
Joe Lim b3c652c4d4 Add support for underline styles (#1896) 2025-02-09 23:39:15 +11:00
dependabot[bot] 3b56a9fa64 Bump github.com/Xuanwo/go-locale from 1.1.2 to 1.1.3 (#1902)
Bumps [github.com/Xuanwo/go-locale](https://github.com/Xuanwo/go-locale) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/Xuanwo/go-locale/releases)
- [Changelog](https://github.com/Xuanwo/go-locale/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Xuanwo/go-locale/compare/v1.1.2...v1.1.3)

---
updated-dependencies:
- dependency-name: github.com/Xuanwo/go-locale
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-09 23:24:43 +11:00
dependabot[bot] 5b1ec5b6fc Bump golang.org/x/text from 0.21.0 to 0.22.0 (#1906)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-09 23:17:03 +11:00
dependabot[bot] ec42237563 Bump golang.org/x/term from 0.28.0 to 0.29.0 (#1905)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/term/compare/v0.28.0...v0.29.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-09 23:09:23 +11:00
Joe Lim c25647d364 Prepare for r34 release (#1909) r34 2025-02-09 22:50:06 +11:00
Joe Lim 4f0a5d6211 Automatically unselect files after watch remove (#1901) 2025-02-03 10:45:53 +11:00
Joe Lim 7595e05957 Add workaround for equivalent paths for watch option (#1895)
* Add workaround for equivalent paths for watch option

* Add comment

* Simplify path watching
2025-01-30 09:53:50 +11:00
Joe Lim 2745c1ab22 Add link to ranger in README (#1891) 2025-01-15 21:57:30 +11:00
Joe Lim 2375b651ce Mark locale feature as experimental (#1892) 2025-01-15 21:48:17 +11:00
dependabot[bot] b34ca155ab Bump github.com/gdamore/tcell/v2 from 2.7.4 to 2.8.1 (#1888)
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.7.4 to 2.8.1.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv2.md)
- [Commits](https://github.com/gdamore/tcell/compare/v2.7.4...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-15 13:24:35 +11:00
dependabot[bot] df0b62af30 Bump golang.org/x/term from 0.27.0 to 0.28.0 (#1884)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/term/compare/v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-15 13:16:06 +11:00
Joe Lim 2095efa661 Various fixes for updating dircounts with watch enabled (#1881)
* Fix file size bug when copying files

* Don't remove existing watches

* Bump fsnotify

* Ignore watching `/dev`
2025-01-15 13:06:00 +11:00
dependabot[bot] 8bfa3a6d34 Bump golang.org/x/term from 0.26.0 to 0.27.0 (#1868)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/term/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-05 18:20:00 +11:00
dependabot[bot] 085717bc9f Bump golang.org/x/text from 0.20.0 to 0.21.0 (#1870)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.20.0...v0.21.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-05 18:13:57 +11:00