Skip to content

Conversation

@pdf3rn
Copy link

@pdf3rn pdf3rn commented Oct 31, 2024

Added usability and visual enhancements to make the Rails Web Console work more like a bash terminal:

Keyboard Shortcuts: Added several shortcuts to improve command editing and navigation

  • CTRL+BACKSPACE, CTRL+DELETE to move between words.
  • END, HOME to move to the end or beginning of the line.
  • DELETE to delete the character under the cursor.
  • CTRL+L to clear the console
  • CTRL+SHIFT+C to clear the current command.
  • CTRL+LEFT, CTRL+RIGHT to move the cursor left or right.

Visual updates: Implemented a cursor blinking animation and adjusted font size for a cleaner, more terminal-like experience.

These changes improve both the look and functionality of the console, making it more intuitive and familiar to those accustomed to terminal environments.

Note: A similar PR (#327) was previously submitted, but not completed. This PR aims to address the improvements discussed and further improve the user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant