mirror of
https://github.com/charmbracelet/crush.git
synced 2025-08-02 05:20:46 +03:00
committed by
GitHub
parent
8248e4f649
commit
705790d336
@@ -410,7 +410,7 @@ func (m *editorCmp) randomizePlaceholders() {
|
||||
func (m *editorCmp) View() string {
|
||||
t := styles.CurrentTheme()
|
||||
// Update placeholder
|
||||
if m.app.CoderAgent.IsBusy() {
|
||||
if m.app.CoderAgent != nil && m.app.CoderAgent.IsBusy() {
|
||||
m.textarea.Placeholder = m.workingPlaceholder
|
||||
} else {
|
||||
m.textarea.Placeholder = m.readyPlaceholder
|
||||
|
||||
Reference in New Issue
Block a user