More work on LibreOffice support.

This commit is contained in:
Storm Dragon committed 2026-10-15 00:50:49 -04:00
1 parent e0c8c6198c
commit 4ac59d4ced
25 files changed
+392 -57

No files matched your search

+8 -4
View File
@@ -51,7 +51,7 @@ type commandRuntime struct {
onNotificationList func()
live *liveSettings
clipboardRequests chan<- struct{}
reviewRequests chan<- struct{}
reviewRequests chan<- input.Command
attributeRequests chan<- struct{}
objectReview *review.Worker
ocr *ocrSession
@@ -228,10 +228,14 @@ func (worker commandRuntime) run(ctx context.Context) error {
if onNotificationList != nil {
onNotificationList()
}
case input.WhereAmI:
logger.Info("where am I command received")
case input.WhereAmI, input.PresentCellFormula:
if command == input.WhereAmI {
logger.Info("where am I command received")
} else {
logger.Info("cell formula command received")
}
select {
case reviewRequests <- struct{}{}:
case reviewRequests <- command:
default:
}
case input.PresentCharacterAttributes: