Skip to content

Commit

Permalink
doc string and pep8 format
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenZcience committed Jan 29, 2024
1 parent 2897162 commit 552ed6d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cat_win/util/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
try:
import curses
def initscr():
# fix windows-curses for Python 3.12:
# https://github.com/zephyrproject-rtos/windows-curses/issues/50
"""
fix windows-curses for Python 3.12:
https://github.com/zephyrproject-rtos/windows-curses/issues/50
"""
import _curses
stdscr = _curses.initscr()
for key, value in _curses.__dict__.items():
Expand All @@ -20,7 +22,8 @@ def initscr():
CURSES_MODULE_ERROR = True
import sys

from cat_win.util.editorhelper import History, Position, UNIFY_HOTKEYS, KEY_HOTKEYS, ACTION_HOTKEYS, SCROLL_HOTKEYS
from cat_win.util.editorhelper import History, Position, UNIFY_HOTKEYS, \
KEY_HOTKEYS, ACTION_HOTKEYS, SCROLL_HOTKEYS
from cat_win.util.rawviewer import SPECIAL_CHARS

def get_newline(file: str) -> str:
Expand Down

0 comments on commit 552ed6d

Please sign in to comment.