Skip to content

Commit

Permalink
release: 🔖 version 0.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kikkomep committed Nov 8, 2024
2 parents 48b72be + bcbe829 commit cd823ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "roc-validator"
version = "0.4.4"
version = "0.4.5"
description = "A Python package to validate RO-Crates"
authors = [
"Marco Enrico Piras <[email protected]>",
Expand Down
2 changes: 2 additions & 0 deletions rocrate_validator/cli/commands/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ def __get_single_char_unix__(console: Optional[Console] = None, end: str = "\n",
try:
tty.setraw(sys.stdin.fileno())
char = sys.stdin.read(1)
if char == "\x03":
raise KeyboardInterrupt
finally:
termios.tcsetattr(fd, termios.TCSADRAIN, old_settings)
if console:
Expand Down
2 changes: 1 addition & 1 deletion rocrate_validator/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class SystemPager(Pager):
"""Uses the pager installed on the system."""

def _pager(self, content: str) -> Any:
return pydoc.pipepager(content, "less -R")
return pydoc.pipepager(content, "less -R -K")

def show(self, content: str) -> None:
"""Use the same pager used by pydoc."""
Expand Down

0 comments on commit cd823ac

Please sign in to comment.