Ribosome.Api.Position
Description
API functions for getpos.
getpos
getposCall :: Text -> RpcCall (Int, Int, Int, Int) Source #
RpcCall for the function getpos that returns a 4-tuple.
RpcCall
getpos :: Member Rpc r => Text -> Sem r (Int, Int, Int, Int) Source #
Call the function getpos and return a 4-tuple.
visualPos :: Member Rpc r => Sem r ((Int, Int), (Int, Int)) Source #
Return the start and end coordinates of visual mode.