external: fix issues with coming back from vim
This commit is contained in:
parent
8de79a6e5a
commit
1d92b52379
|
@ -27,7 +27,6 @@ BACKLOG
|
|||
--------------------------------------------------------------------------------
|
||||
bug: can't input unicode
|
||||
click on links to open them
|
||||
bug: exiting editor breaks curses
|
||||
dumb rendering mode per site
|
||||
well, preferences per site maybe?
|
||||
download without memory buffer
|
||||
|
|
|
@ -12,6 +12,9 @@ def open_external_program(command):
|
|||
"""
|
||||
curses.nocbreak()
|
||||
curses.echo()
|
||||
curses.curs_set(1)
|
||||
subprocess.run(command)
|
||||
curses.mousemask(curses.ALL_MOUSE_EVENTS)
|
||||
curses.curs_set(0)
|
||||
curses.noecho()
|
||||
curses.cbreak()
|
||||
|
|
Reference in a new issue