Disable image mode in ddrescue-tui (for now)

This commit is contained in:
2Shirt 2021-04-13 23:16:55 -06:00
parent d781038e88
commit a4ee7b890c
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -689,6 +689,13 @@ class State():
# Set mode
self.mode = set_mode(docopt_args)
# Image mode is broken..
# TODO: Fix image mode
# Definitely for Linux, maybe for macOS
if self.mode == 'Image':
std.print_error("I'm sorry but image mode is currently broken...")
std.abort()
# Select source
self.source = get_object(docopt_args['<source>'])
if not self.source: