Class Line.CursorTransaction

java.lang.Object
org.aesh.readline.cursor.Line.CursorTransaction
Enclosing class:
Line

public class Line.CursorTransaction extends Object
A cursor transaction runs action. NB: At the end of a transaction, the cursor is back to where it was before the transaction was run. A transaction doesn't change the Aesh internal cursor/content states.
Author:
jdenise@redhat.com
  • Method Details

    • run

      public void run()
      Runs this cursor transaction. The cursor is saved before executing actions and restored after all actions have been applied.