BoneOS icon indicating copy to clipboard operation
BoneOS copied to clipboard

Control key support

Open double-fault opened this issue 8 years ago • 6 comments

If you press the Control key with another key, it triggers a shorcut. Here is a list of shortcuts I plan to support:

  • [x] Control + A - go to the beginning of the line you are currently typing on.
  • [x] Control + E - go to the end of the line you are typing on.
  • [x] Control + L - clears the screen.
  • [x] Control + U - clears the line you are typing in.
  • [x] Control + H - backspace.
  • [ ] Control + C - stops whatever you are running.
  • [x] Control + D - exits the shell instance.
  • [x] Control + N - opens a new shell instance.
  • [x] Control + W - deletes the word before the cursor.
  • [x] Control + T - swaps the last two characters before the cursor.

double-fault avatar Jan 16 '17 06:01 double-fault

Why don't use shortcut many people already know? (i.e. Control + W to close window (shell instance))

Also, can we make use of Home and End key?

srifqi avatar Jan 21 '17 11:01 srifqi

@srifqi to stop a shell instance do Control+D, that is the *nix standard. What do you want to use the "Home" and "End" key for?

double-fault avatar Jan 21 '17 11:01 double-fault

Home - go to the beginning of the line you are currently typing on. End - go to the end of the line you are typing on.

srifqi avatar Jan 21 '17 12:01 srifqi

@srifqi okay, can make those aliases of Control+A and Control+E respectively.

double-fault avatar Jan 21 '17 12:01 double-fault

Plan on finishing?

amanuel2 avatar Apr 27 '17 13:04 amanuel2

@amanuel2 nope, I'm extremely busy nowadays and my first priority is completing a refactor on FireAlarm.

double-fault avatar Apr 27 '17 16:04 double-fault