invert direction of history

master
Jonas Arnold 3 years ago
parent 034138f7de
commit f4c3223c90
  1. 4
      MultiTerm.Core/ViewModel/TerminalViewModel.cs

@ -348,8 +348,8 @@ public abstract partial class TerminalViewModel : ObservableObject, ITerminalVie
// shallow copy of element (so that element can be changed externally) // shallow copy of element (so that element can be changed externally)
var copy = (IHistoryElement)element.Clone(); var copy = (IHistoryElement)element.Clone();
// add to list // add to list at the beginning
this.SentMessagesHistory.Add(copy); this.SentMessagesHistory.Insert(0, copy);
} }
/// <summary> /// <summary>

Loading…
Cancel
Save