15 lines
307 B
Crystal
15 lines
307 B
Crystal
module Fingers
|
|
abstract class Printer
|
|
abstract def print(msg : String)
|
|
abstract def flush
|
|
end
|
|
|
|
abstract class Formatter
|
|
abstract def format(hint : String, highlight : String, selected : Bool, offset : Tuple(Int32, Int32) | Nil)
|
|
end
|
|
end
|
|
|
|
abstract class Shell
|
|
abstract def exec(cmd)
|
|
end
|