@@ -122,7 +122,7 @@ This file documents all changes made to the project and is updated before each r
122122
123123## v5.2.0 [ 2023-03-01]
124124### Added
125- * Added ` AppendStyle ` and ` AppendProps ` enums in the new ` minus_core::utils::text ` to control the append behaviour and
125+ * Added ` AppendStyle ` and ` AppendProps ` enums in the new ` minus_core::utils::text ` to control the append behaviour and
126126 properties related to each append operation
127127
128128### Changes
@@ -160,7 +160,7 @@ This file documents all changes made to the project and is updated before each r
160160
161161## v5.0.4 [ 2022-07-31]
162162### Added
163- * Added dependency on [ crossbeam-utils] ( https://crates.io/crates/crossbeam-utils ) .
163+ * Added dependency on [ crossbeam-utils] ( https://crates.io/crates/crossbeam-utils ) .
164164 This allows us to use scoped threads feature provided by it.
165165
166166### Changed
@@ -188,17 +188,17 @@ This file documents all changes made to the project and is updated before each r
188188- Line Numbers are displayed only on the first wrapped row of each line.
189189
190190 This decreases the clutter on the line number column especially on text which span multiple lines.
191-
191+
192192- Line Numbers are now padded by about 5 spaces. This makes the line numbers not get tightly packed with the left edge of the terminal.
193193
194194### Fixed
195- - Fixed bug when appending complex sets of text, a wrong value of ` unterminated ` got calculated which
195+ - Fixed bug when appending complex sets of text, a wrong value of ` unterminated ` got calculated which
196196 caused junk text to appended to the ` PagerState::formatted_lines ` and also to be displayed on the terminal.
197197
198198- Fixed mouse scroll wheel not scrolling through the screen.
199199
200200 This occurred because a of a previous patch which removed the line that enabled the mouse events to be captured.
201-
201+
202202* Fix panic when the search term gets changed
203203
204204 This occurred due to the ` search_idx ` not being repopulated when a new search is activated.
@@ -219,35 +219,35 @@ This file documents all changes made to the project and is updated before each r
219219 This is the unification of the previous ` tokio_lib ` and ` async_std_lib ` features.
220220 minus no longer depends on ` tokio ` or ` async_std ` directly and requires end-application to
221221 bring in these libs as dependency. ** This makes minus completely runtime agnostic**
222-
223- * minus can now be called from a OS thread using
224- [ ` threads ` ] ( https://doc.rust-lang.org/std/thread/index.html ) .
222+
223+ * minus can now be called from a OS thread using
224+ [ ` threads ` ] ( https://doc.rust-lang.org/std/thread/index.html ) .
225225 See example in [ README] ( ./README.md#threads )
226-
227- * Applications should call ` dynamic_paging ` on s separate non-blocking thread like
226+
227+ * Applications should call ` dynamic_paging ` on s separate non-blocking thread like
228228 [ ` tokio::task::spawn_blocking() ` ] ( https://docs.rs/tokio/latest/tokio/task/fn.spawn_blocking.html )
229229 or [ ` threads ` ] ( https://doc.rust-lang.org/std/thread/index.html ) .
230230
231231* Use channels for communication
232-
232+
233233 * This allows minus to exactly know when data is changed and do various optimizations on it's
234234 * Added [ ` crossbeam_channels ` ] ( https://crates.io/crates/crossbeam_channels ) as dependency.
235235
236236* Store the current run mode as static value
237237
238238 * The ` RUNMODE ` static item tells minus whether it is running in static mode or asynchronous mode
239239 * Added ` once_cell ` as a dependency to store the above value in static scope.
240-
240+
241241* Added feature to scroll through more than one line
242- * Prefixing any of the movement keys with a number will move the screen up or down to that many lines.
242+ * Prefixing any of the movement keys with a number will move the screen up or down to that many lines.
243243 For example ` 10j ` will take the view 10 lines down.
244- * Similarly jump to specific line by prefixing ` G ` with a number. For example ` 15G ` will take you to the
244+ * Similarly jump to specific line by prefixing ` G ` with a number. For example ` 15G ` will take you to the
245245 15th line of the data.
246-
246+
247247* Searching through text with lots of ansi sequence inside it will no longer break the search
248248 Previously this case would cause the search matcher to not match it and move to the next one
249249 (#57 )
250-
250+
251251* Added a ` PagerState ` struct to store and share internal data. It is made public, along with some of its
252252fields so that it can be used to implement ` InputClassifier ` trait for applications that want to modify the
253253default keybindings
@@ -263,18 +263,18 @@ default keybindings
263263 The ` handle_input() ` function cared about a lot of things and passing everything as a parameter
264264 was really tedious. This also caused a breaking change whenever a new parameter was added
265265
266- * Changed function signature of ` Pager::new ` to ` new() -> Pager ` . It previously used to return a
266+ * Changed function signature of ` Pager::new ` to ` new() -> Pager ` . It previously used to return a
267267 ` Result<Pager, TermError> ` .
268268
269- * Use threads even in static paging mode. Although mutating the ` Pager ` s data won't reflect any changes in
269+ * Use threads even in static paging mode. Although mutating the ` Pager ` s data won't reflect any changes in
270270 static mode.
271-
272- * Replaced ` tokio-no-overflow ` example with ` static-no-overflow ` function. This is because the
271+
272+ * Replaced ` tokio-no-overflow ` example with ` static-no-overflow ` function. This is because the
273273 ` Pager::run_no_overflow ` function is only available in ` static_output ` feature.
274-
274+
275275* All implemented functions on ` Pager ` except ` Pager::new ` will return a ` Result<(), MinusError> `
276276 because the communication with the pager may fail if the pager has quit early on.
277-
277+
278278* Applications should spawn ` dynamic_paging ` by themselves. For example on tokio, this would be
279279 ``` rust
280280 use tokio :: {task :: spawn_blocking, join}
@@ -294,10 +294,10 @@ default keybindings
294294* Removed ` tokio ` , ` async-std ` and ` async-mutex ` from dependencies.
295295* Removed ` Pager::finish ` function.
296296* Removed ` Pager::end_data_stream ` function.
297-
298- This was only required for running in dynamic mode with run no overflow on. With deprecation of this
297+
298+ This was only required for running in dynamic mode with run no overflow on. With deprecation of this
299299 feature we no longer need this function
300-
300+
301301* Removed ` static_long ` example.
302302* Removed ` PageAllError ` from ` static_pager ` and ` errors ` modules.
303303
@@ -358,10 +358,10 @@ default keybindings
358358### Fixed
359359* Prevent panic if invalid regex is given during search
360360* Fix run\_ no\_ overflow for static pager (#43 )
361-
361+
362362 Previously, this setting had no effect if paging static output, due to an if condition in
363363 ` static_pager.rs ` which did not consider the setting. This commit makes
364- this setting behave as expected. (@tomstoneham )
364+ this setting behave as expected. (@tomstoneham )
365365
366366* The cursor is hidden as soon as the search query entry is complete.
367367* Fix where color outputs get distorted after search matches
0 commit comments