Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: noborus/ov

v0.45.1

27 Oct 03:54
f7dadd8

Choose a tag to compare

What's Changed

This is a fix for v0.45.0

  • Fix setContentString wide character width calculation by @noborus in #888

v0.45.0 release notes

🎉 New Features

Terminal Title Support

  • New --set-terminal-title flag: Automatically sets the terminal title to display the current filename or caption
  • Makes it easier to identify which file is being viewed when multiple terminal tabs are open
  • Perfect for git workflows with custom captions: git log | ov --set-terminal-title --caption "git log - myrepo"
  • Fixes #881

🐛 Bug Fixes

Wide Character Display Issues

  • Fixed display corruption of double-width characters: Resolved issues with CJK characters (Japanese, Chinese, Korean) in Windows Terminal and other terminal emulators
  • Improved mouse selection: Fixed mouse selection issues when clicking on wide characters
  • Better character positioning: Enhanced wide character rendering and positioning calculations
  • Fixed double-click word selection: Improved word boundary detection for mixed ASCII and double-width characters

Key Binding Improvements

  • Fixed toggle mouse key: Corrected toggle mouse key binding to Ctrl+F8
  • Added alternative key bindings: Added backup key bindings for better cross-platform compatibility, especially for Windows Terminal users experiencing issues with ctrl+alt combinations

🔧 Improvements

Code Quality & Error Handling

  • Refactored mouse functions: Converted methods to standalone functions for better testability and code organization
  • Standardized error messages: Improved error message format for better clarity and consistency
  • Enhanced error types: Added ErrInvalidModeName, ErrInvalidRGBColor, ErrInvalidKey for better error identification
  • Better error context: Enhanced error wrapping with proper stack traces

Wide Character Support

  • Comprehensive testing: Added extensive tests for wide character handling functions
  • Better boundary detection: Enhanced character type detection for CJK text and mixed-language content
  • Improved word selection: Better double-click selection behavior for international text

Full Changelog: v0.44.0...v0.45.0
Full Changelog: v0.45.0...v0.45.1

v0.44.0

08 Oct 12:00
71ba731

Choose a tag to compare

🖱️ Enhanced Mouse Support

Double-click Word Selection (#837, #840)

  • Double-click to select words with smart boundary detection for alphanumeric, whitespace, and symbol characters
  • Configurable click interval and distance thresholds
  • Improved mouse event handling with click state management

Triple-click Line Selection (#846, #847)

  • Triple-click to select entire lines, including wrapped lines that span multiple screen lines
  • Smart selection from start to end of visual lines

Column Selection on Double-click (#845)

  • When in column mode, double-click selects entire columns instead of words
  • Enhanced column boundary detection and selection logic

Customizable Selection Styles (#839)

  • New SelectActive style for active selection (during drag)
  • New SelectCopied style for copied selection (after copy operation)
  • Replace fixed reverse styling with configurable appearance
  • Improved mouse selection state management with MouseSelectState enum

Thanks to @ninetailedtori for the original idea in #837!

Configurable Mouse Wheel Scroll Speed (#871, #872)

  • Added VScrollLines setting in General config section to control mouse wheel scroll speed
  • Default value is 2 lines (maintains backward compatibility)
  • Allows users to match their terminal scroll settings

Thanks to @deathtrip for the suggestion in #871!

📍 Sticky Follow Mode (#858, #860)

  • Automatic Pause Indicator: Follow mode shows || when paused due to user interaction (scrolling, searching, etc.)
  • Smart Resume: Automatically resumes when moving to bottom (End key, bottom action, etc.)
  • Configurable: Can be disabled with DisableStickyFollow option
  • Visual Feedback: Clear indication of follow mode state in status line
  • PauseLine Style (#861): Added PauseLine style to highlight the line where follow mode is paused

Thanks to @maxeonyx for the concept in #858!

⚡ Quit-if-one-screen Improvements (#853, #855)

  • Improved Timing: Enhanced EOF monitoring with goroutine for better timing detection
  • Delayed File Reading: Correctly handles quit-if-one-screen even when file reading is slow or delayed
  • Cancel Feature: Added quitSmall cancel feature for better user control

Thanks to @amonks for the report in #853!

🔧 Enhanced Key Binding System (#870)

  • Improved Key Normalization: Properly handle Ctrl+J vs Enter distinctions across different terminals
  • Better Duplicate Detection: Enhanced duplicate key binding detection with proper case normalization
  • Comprehensive Error Handling: Collect all validation issues instead of stopping at first error
  • Clear Error Messages: Enhanced help display for key binding conflicts and invalid configurations

🐛 Bug Fixes

Last Line Display Bug (#865)

  • Quit-if-one-screen option now correctly calculates screen height by excluding the status line height when determining if content fits on screen

Thanks to @maraino for the report in #864!

Search Operations (#866, #856)

  • Fixed search freeze when cancel events don't keep up with processing
  • Preserved eventReachEOF during search operations
  • Better event handling and replay after search completion

Concurrency (#857)

  • Use TryLock for doclist operations to prevent potential deadlocks
  • Log lock failures without blocking UI updates

📦 Dependencies

  • Bumped github.com/mattn/go-runewidth from 0.0.17 to 0.0.19
  • Bumped github.com/spf13/cobra from 1.9.1 to 1.10.1
  • Bumped github.com/spf13/pflag from 1.0.9 to 1.0.10
  • Bumped github.com/ulikunitz/xz from 0.5.13 to 0.5.15
  • Updated Go version and various module dependencies

Full Changelog: v0.43.0...v0.44.0

v0.43.1

20 Sep 01:54

Choose a tag to compare

Bug Fixes

  • Fix incorrect file deletion in edit mode (0bd4f51)

    • Fixed critical bug where original files were deleted after editing
  • Fix document list deadlock (8d19ae9)

    • Use TryLock to prevent deadlocks in document list operations

Full Changelog: v0.43.0...v0.43.1

v0.43.0

27 Aug 22:02
763ac19

Choose a tag to compare

What's Changed

  • Add missing less keybindings and sync configs by @noborus in #810
  • Fix screen height to be non-negative by @noborus in #813
  • Fix converter initialization not being applied to filter documents by @noborus in #820
  • Fix column navigation issues and improve test coverage by @noborus in #823
  • Improve mark by @noborus in #824
  • Changed to support new Style settings by @noborus in #828
  • Improve package usage by @noborus in #830
  • Update to tcell v2.9.0, tcellansi v0.2.0 by @noborus in #832

Full Changelog: v0.42.1...v0.43.0

v0.42.1

02 Jul 22:51
63d9143

Choose a tag to compare

What's Changed

Full Changelog: v0.42.0...v0.42.1

v0.42.0

24 Jun 22:29
fc39e14

Choose a tag to compare

What's Changed

Adding an edit function

Allows you to edit by passing the file to an external editor. #782 #786 #787 #788 #795

Implemented issue #780

Customizable to hide the status line

The status line can now be hidden and there is more customization available. #793 #794 #796 #797

Implemented issue #426

Help and log documentation can be customized separately

The help and log documentation are now separate from General and can be customized separately. #801 #802
Implemented issue #799

Bug fix and update

Full Changelog: v0.41.0...v0.42.0

v0.41.0

18 May 09:15
90af473

Choose a tag to compare

What's Changed

  • fix: Wait for EOF or ReadWaitTime before starting initial search by @noborus in #766
  • Remove WaitEOFWithTimeout call when checking file size by @noborus in #767
  • Add support for ESC(B as a reset operation in other sequence handling by @noborus in #775
  • Remove extra spaces on the right in WriteQuit by @noborus in #779

Full Changelog: v0.40.1...v0.41.0

v0.40.1

15 Apr 02:43
b491ebc

Choose a tag to compare

What's Changed

  • fix: #760 Do not apply old style settings when Style is blank by @noborus in #761

Full Changelog: v0.40.0...v0.40.1

v0.40.0

12 Apr 08:15
5c3ece8

Choose a tag to compare

Please use v0.40.1 as there is a bug.

What's Changed

Full Changelog: v0.39.0...v0.40.0

v0.39.0

26 Feb 05:27
c48b4ec

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.38.0...v0.39.0