Skip to content

Releases: ronisbr/TerminalPager.jl

v0.6.0

15 Nov 13:47
Compare
Choose a tag to compare

TerminalPager v0.6.0

Diff since v0.5.2

  • We can use the @help command on TerminalPager.jl for macros. (PR #39)
  • Drop support for Julia 1.6.

Merged pull requests:

Closed issues:

  • TerminalPager doesn't work with Julia 1.11 (#38)

v0.5.2

24 Sep 18:55
Compare
Choose a tag to compare

TerminalPager v0.5.2

Diff since v0.5.1

  • Bump StringManipulation.jl version.

Closed issues:

  • abbreviated output for DimensionalData (#34)
  • fastdown only shifts by 1 line (#35)

v0.5.1

23 Sep 18:11
Compare
Choose a tag to compare

TerminalPager v0.5.1

Diff since v0.5.0

  • Fix the precompilation in Julia v1.6. (PR #31)
  • TerminalPager.drop_preference! should not expect the preference value, only its name.
  • The error handling algorithm was improved to provide a result closer to that of the default REPL mode. (Issue #32)

Merged pull requests:

Closed issues:

  • LoadError: cannot assign variables in other modules (#30)
  • long error messages in pager> compared to julia> (#32)

v0.5.0

21 Sep 20:11
Compare
Choose a tag to compare

TerminalPager v0.5.0

Diff since v0.4.0

  • We now manage the user preferences using the package Preferences.jl. Hence, we dropped all the previous functions to perform customization, leading to breaking changes.
  • ^ is mapped to BOL (PR #28)
  • The pager supports a new visual mode in which the user can select and copy lines.
  • The pager can use the alternate screen buffer, which preserves the current buffer content. This mode is now the default one when showing documentation using @help or in the REPL mode pager?>. (Issue #29)
  • We use an intermediate buffer to draw the view, leading to less screen flickering.
  • The pre-compilation statements are generated by PrecompileTools.jl.
  • We now consider the entire display size when showing docstrings using @help.

Merged pull requests:

  • add caret as alternate keybinding for bol (#28) (@bjarthur)

Closed issues:

  • Add optional argument to load only first n lines (#26)
  • ^ caret as default keybinding for bol (#27)
  • Use the "alternate screen" to keep the REPL clean (#29)

v0.4.0

19 Nov 15:21
Compare
Choose a tag to compare

TerminalPager v0.4.0

Diff since v0.3.1

Closed issues:

  • Enter key to move down (#23)
  • pager?> mode is limited to 80 columns, unlike help?> mode (#25)

Merged pull requests:

v0.3.1

09 May 23:13
Compare
Choose a tag to compare

TerminalPager v0.3.1

Diff since v0.3.0

StringManipulation.jl version was bump to v0.3.

v0.3.0

17 Mar 16:13
Compare
Choose a tag to compare

TerminalPager v0.3.0

Diff since v0.2.2

  • The keywords freeze_rows and freeze_columns were renamed to frozen_rows and frozen_columns.
  • The keyword draw_ruler was renamed to show_ruler.
  • The type of keystroke values are now String instead of Union{Symbol, String}. This modification can break code that adds keybindings. However, it removed a lot of type instability and runtime dispatch, leading to a substantial performance gain.
  • The function set_highlighting can be used to change the active and inactive search highlight decoration.
  • Many performance improvements. The inner engine to create text views, called "recipes", was removed in favor of the algorithm in StringManipulation.jl (function textview).

v0.2.2

29 Dec 17:09
Compare
Choose a tag to compare

TerminalPager v0.2.2

Diff since v0.2.1

  • The escaping was corrected in @help. (Issue #17)
  • The text width was being computing without ignoring the decoration, leading to problems when accounting for the printable size of the text. (Issue #16)
  • The keyword auto can be used to show the pager only if the output does not fit the screen.
  • TerminalPager.jl now has REPL modes.
  • New keybindings were defined: <, >, and b. (Issue #15)
  • We can now define title rows, which will not move with the pager. (Issue #6)
  • Many performance issues were fixed, improving the initialization time among other things.

Closed issues:

  • Add option to have completely frozen lines at the beginning (#6)
  • Feature request: b for :pageup to match less pager on linux (#15)
  • pager?> always pages (#16)
  • @dpr DataFrame vs @dpr CSV.File (#17)
  • [FR] Implement keybinding callbacks (#18)

v0.2.1

23 May 02:29
Compare
Choose a tag to compare

TerminalPager v0.2.1

Diff since v0.2.0

  • The macro @dpr is now deprecated. It was replaced by @help.
  • The macro @stdout_to_pager can now be called using the shorter name @out2pr.

v0.2.0

22 May 01:32
Compare
Choose a tag to compare

TerminalPager v0.2.0

Diff since v0.1.1

  • The macro @stdout_to_pager can be used to redirect the stdout output to the pager. (Issue #13)
  • The macro @dpr can be to easily access the documentation of a function using pager. (Issue #14)
  • A vertical ruler can now be drawn using the keybinding r.
  • space is now bind to :pagedown as in less.

Closed issues:

  • show(df) |> pager not working (#13)
  • [Feature] Easier @doc Macro or Alternative (#14)