Terminal: Ctrl+C copies a selection (else ^C), Ctrl+V pastes, over http too; drop Log out everywhere
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
d7ed4d8549
commit
d3f2a83249
@@ -146,15 +146,6 @@ func (s *Sessions) Valid(tok string) bool {
|
||||
return ok
|
||||
}
|
||||
|
||||
// DeleteAll ends every session on every device and says how many there were.
|
||||
func (s *Sessions) DeleteAll() (n int) {
|
||||
_ = s.st.Update(func(state *store.State) {
|
||||
n = len(state.Sessions)
|
||||
state.Sessions = map[string]time.Time{}
|
||||
})
|
||||
return n
|
||||
}
|
||||
|
||||
func (s *Sessions) Delete(tok string) {
|
||||
_ = s.st.Update(func(state *store.State) { delete(state.Sessions, tok) })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user