KetraTerm
API · DevelopmentAll versions

recordSuggestionFeedback

fun recordSuggestionFeedback(commandLine: String, feedback: TerminalCompletionFeedbackKind, profileId: String?, workingDirectoryUri: String?, feedbackAtEpochMillis: Long): Boolean

Records explicit user feedback for the exact suggested command.

Return

true if the retained exact-command rows changed.

Parameters

commandLine

command text represented after applying the suggestion.

feedback

accepted or dismissed feedback kind.

profileId

optional host profile id.

workingDirectoryUri

optional working-directory URI.

feedbackAtEpochMillis

host timestamp for the feedback event.