Projects STRLCPY reverse_ssh Commits ea098dfb
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■
    internal/terminal/terminal.go
    skipped 1121 lines
    1122 1122   if lineOk {
    1123 1123   if t.echo {
    1124 1124   t.historyIndex = -1
    1125  - t.history.Add(line)
     1125 + line2 := strings.TrimSpace(line)
     1126 + if line2 != "" {
     1127 + t.history.Add(line2)
     1128 + }
    1126 1129   }
    1127 1130   if lineIsPasted {
    1128 1131   err = ErrPasteIndicator
    skipped 223 lines
Please wait...
Page is in error, reload to recover