mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-22 00:37:12 +09:00
@@ -261,6 +261,11 @@ func (m *Messenger) Prompt(prompt, placeholder, historyType string, completionTy
|
||||
event := <-events
|
||||
|
||||
switch e := event.(type) {
|
||||
case *tcell.EventResize:
|
||||
for _, t := range tabs {
|
||||
t.Resize()
|
||||
}
|
||||
RedrawAll()
|
||||
case *tcell.EventKey:
|
||||
switch e.Key() {
|
||||
case tcell.KeyCtrlQ, tcell.KeyCtrlC, tcell.KeyEscape:
|
||||
|
||||
Reference in New Issue
Block a user