Vlad Doloman 59e52b9465 fix: show cursor in Certificate Details form
Two bugs combined to make the cursor invisible:
- curses.curs_set(0) was set globally in _main() and never re-enabled
  for the form, so the cursor was hidden the whole time.
- InputField.draw() called win.move() to position the cursor, but all
  fields were drawn in order, so the cursor always landed on the last
  field (password) regardless of which field had focus.

Fix: split draw() into draw() (render only) + place_cursor() (move
only). show_cert_form() now calls curses.curs_set(1) on entry,
place_cursor() on the focused field after drawing all fields, and
curses.curs_set(0) before each return.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 13:41:56 +03:00
Description
No description provided
429 KiB
Languages
Python 100%