Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Rails Web Console with Terminal-like Shortcuts and Visual Improvements #341

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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