micro/internal
Dmitry Maluka db6d4f5461
save: Restore the screen if failed to start sudo (#2971)
Similarly to the crash fixed by #2967, which happens if sudo failed,
a crash also happens when sudo even fails to start. The reason for
the crash is also similar: nil dereference of screen.Screen caused by
the fact that we do not restore temporarily disabled screen.

To reproduce this crash, set the `sucmd` option to some non-existing
command, e.g. `aaa`, and try to save a file with root privileges.
2023-10-16 10:44:05 +02:00
..
action Add onSetActive callback (#2885) 2023-08-31 17:29:07 +01:00
buffer save: Restore the screen if failed to start sudo (#2971) 2023-10-16 10:44:05 +02:00
clipboard Use zyedidia/clipper for external clipboard 2022-06-14 08:40:57 -04:00
config Resolve merge conflict with scrollbarchar 2023-07-08 14:06:41 -07:00
display Add 'scrollbarchar' option (#2342) 2023-07-08 14:02:01 -07:00
info Add HistorySearchUp and HistorySearchDown actions (#1829) 2023-07-08 14:00:22 -07:00
lua chore: os.SEEK_CUR os.SEEK_END os.SEEK_SET has been deprecated since Go 1.7 (#2856) 2023-07-04 12:13:41 -07:00
screen Add fakecursor option 2023-01-26 18:02:54 -08:00
shell Fix term output capturing 2023-09-08 23:27:39 -07:00
util util.HttpRequest helper to make requests with headers (#2678) 2023-01-30 01:29:06 -08:00
views Fix unsplit crash 2020-02-08 21:06:13 -05:00