Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Terminal.Gui
Submodule Terminal.Gui updated 199 files
4 changes: 0 additions & 4 deletions smoc.Tests/Fakes/FakeMainWindow.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Smoc.Ui;
using Smoc.Ui.Drawing;
using Smoc.Ui.Models;
using Terminal.Gui.App;

Expand All @@ -13,9 +12,6 @@ public class FakeMainWindow : IMainWindow {
/// <inheritdoc/>
public IApplication? App { get; } = FakeApplication.New();

/// <inheritdoc/>
public ISixelDriver SixelDriver { get; set; } = new FakeSixelDriver();

/// <inheritdoc/>
public Mode CurrentMode { get; set; }

Expand Down
37 changes: 0 additions & 37 deletions smoc.Tests/Fakes/FakeSixelDriver.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NowPlayingBarTest.OnSongChanged_UpdatesSongDetails_0:
┌╌╌╌╌┐ OnSongChangedUpdatesSongDetails
?? Radiohead volume: 0%
└╌╌╌╌┘ --:-- --:--
OnSongChangedUpdatesSongDetails
?? Radiohead volume: 0%
--:-- --:--



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ NowPlayingViewTest.InitialState_ShowsEmptyNowPlayingInfo_0:



┌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┐
??
┆ ┆
┆ ┆
┆ ┆
┆ ┆
┆ ┆
┆ ┆
┆ ┆
└╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┘

no track
no artist


--:-- --:--
┌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┐
┆ ┆
┆ ┆
┆ ┆
??
┆ ┆
┆ ┆
┆ ┆
┆ ┆
└╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┘
no track
no artist
--:-- --:--



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ NowPlayingViewTest.InitialState_ShowsEmptyNowPlayingInfo_Tall_0:


┌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┐
┆ ?? ┆
┆ ┆
┆ ┆
┆ ┆
Expand All @@ -15,6 +14,7 @@ NowPlayingViewTest.InitialState_ShowsEmptyNowPlayingInfo_Tall_0:
┆ ┆
┆ ┆
┆ ┆
┆ ?? ┆
┆ ┆
┆ ┆
┆ ┆
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ NowPlayingViewTest.InitialState_ShowsEmptyNowPlayingInfo_Wide_0:


┌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┐
┆ ?? ┆
┆ ┆
┆ ┆
┆ ┆
┆ ┆
┆ ?? ┆
┆ ┆
┆ ┆
┆ ┆
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ NowPlayingViewTest.OnPositionChanged_UpdatesPosition_0:


┌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┐
┆ ?? ┆
┆ ┆
┆ ┆
┆ ┆
┆ ┆
┆ ?? ┆
┆ ┆
┆ ┆
┆ ┆
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ NowPlayingViewTest.OnPositionChanged_UpdatesPosition_MultipleTimes_0:


┌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┐
┆ ?? ┆
┆ ┆
┆ ┆
┆ ┆
┆ ┆
┆ ?? ┆
┆ ┆
┆ ┆
┆ ┆
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ NowPlayingViewTest.OnSongChanged_SongIsNull_UpdatesSongDetails_0:


┌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┐
┆ ?? ┆
┆ ┆
┆ ┆
┆ ┆
┆ ┆
┆ ?? ┆
┆ ┆
┆ ┆
┆ ┆
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ NowPlayingViewTest.OnSongChanged_UpdatesSongDetails_0:



┌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┐
??
└╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┘
??

OnSongChangedUpdatesSongDetails
Radiohead
Expand Down
5 changes: 1 addition & 4 deletions smoc/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Smoc.Streaming.Subsonic;
using Smoc.Streaming.YouTubeMusic;
using Smoc.Ui;
using Smoc.Ui.Drawing;
using Terminal.Gui;
using Terminal.Gui.App;
using Terminal.Gui.Configuration;
Expand Down Expand Up @@ -62,9 +61,7 @@ public static async Task Main(string[] args) {
application.Mouse.IsMouseDisabled = true;
VimKeyBindings.AddNavigationKeyBindings(application.Keyboard.KeyBindings);
IStreamingClient streamingClient = CreateStreamingClient();
var sixelDriver = new SixelDriver(application);
sixelDriver.Initialize();
using var window = new MainWindow(streamingClient, sixelDriver);
using var window = new MainWindow(streamingClient);
try {
application.Run(window, (e) => {
Logging.Error(e.ToString());
Expand Down
Loading
Loading