Back to Enquirer

Date

support/src/content/types/date.md

2.4.01.5 KB
Original Source

Date Prompt

  • The cursor may be moved by hitting <kdb>Left Arrow</kdb> / <kdb>Right Arrow</kdb> keys
  • The cursor may be moved to the left by hitting <kbd>Alt (Option)</kdb>+<kdb>B</kdb>
  • The cursor may be moved to the right by hitting <kbd>Alt (Option)</kdb>+<kdb>F</kdb>
  • The cursor may be moved to the right by hitting Tab / <kbd>Ctrl</kdb>+<kdb>I</kdb>
  • The cursor may be moved to the beginning by hitting <kbd>Ctrl</kdb>+<kdb>A</kdb>
  • The cursor may be moved to the end by hitting <kbd>Ctrl</kdb>+<kdb>E</kdb>
  • The current digit may be changed by hitting <kdb>Up Arrow</kdb> / <kdb>Down Arrow</kdb> keys
    • Then incrementing minutes on "6:59", the hour increments
    • Then incrementing hours on "23:00", the day & date increment
    • Then incrementing days on "31 Jan", the month increments
    • Then incrementing months on "Dec", the year increments instead
  • The prompt may be cancelled by hitting <kbd>Ctrl</kdb>+<kdb>C</kdb> / <kdb>Escape</kbd>
  • The REPL may be stopped by hitting <kbd>Ctrl</kdb>+<kdb>D</kdb>
  • The prompt may be submitted by hitting <kbd>Ctrl</kdb>+<kdb>J</kdb> / <kdb>Return</kdb>
  • The prompt may be reset by hitting <kbd>Ctrl</kdb>+<kdb>G</kdb>
  • The current digit may be changed by typing a number
    • The input is reset after 1 second
    • The input is applied after all digits have been typed
    • Tfter the input has been applied, the cursor is moved to the right
  • The prompt shows a question mark before submit
  • The prompt shows a check mark after submit
  • The prompt shows a cross after cancel