mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 01:47:51 +08:00
edit: Remove unused func
This commit is contained in:
parent
516e26177a
commit
ad6ce84204
|
@ -15,10 +15,6 @@ type Key struct {
|
|||
|
||||
var ZeroKey = Key{}
|
||||
|
||||
func AltKey(r rune) Key {
|
||||
return Key{r, Alt}
|
||||
}
|
||||
|
||||
func (k Key) String() (s string) {
|
||||
if k.Mod & Ctrl != 0 {
|
||||
s += "Ctrl-"
|
||||
|
|
Loading…
Reference in New Issue
Block a user