@@ -105,13 +105,13 @@ public static class Program
105105
106106 ResultDialog . Options . Add ( _orig ) ;
107107
108- foreach ( ConsoleOption option in buffer . Select ( NConsoleFactory . CreateResultOption ) ) {
108+ foreach ( ConsoleOption option in buffer . Select ( ConsoleUIFactory . CreateResultOption ) ) {
109109 ResultDialog . Options . Add ( option ) ;
110110 }
111111
112112 _isFilteredShown = ! _isFilteredShown ;
113113
114- ConsoleManager . Refresh ( ) ;
114+ ConsoleDialog . Refresh ( ) ;
115115 } ,
116116 [ ConsoleKey . F2 ] = async ( ) =>
117117 {
@@ -129,7 +129,7 @@ public static class Program
129129 ConsoleManager . WaitForSecond ( ) ;
130130 }
131131
132- ConsoleManager . Refresh ( ) ;
132+ ConsoleDialog . Refresh ( ) ;
133133 } ,
134134 }
135135 } ;
@@ -201,18 +201,18 @@ private static async Task Main(string[] args)
201201 }
202202 } ;
203203
204- ConsoleProgressIndicator . Queue ( _cancellationToken ) ;
204+ ConsoleProgressIndicator . Start ( _cancellationToken ) ;
205205
206206 // Show results
207207 var searchTask = Client . RunSearchAsync ( ) ;
208208
209- _orig = NConsoleFactory . CreateResultOption ( Config . Query . GetImageResult ( ) , "(Original image)" ,
209+ _orig = ConsoleUIFactory . CreateResultOption ( Config . Query . GetImageResult ( ) , "(Original image)" ,
210210 AppInterface . Elements . ColorMain , - 0.1f ) ;
211211
212212 // Add original image
213213 ResultDialog . Options . Add ( _orig ) ;
214214
215- await ResultDialog . ReadAsync ( ) ;
215+ await ResultDialog . ReadInputAsync ( ) ;
216216
217217 await searchTask ;
218218 }
@@ -225,7 +225,7 @@ private static async Task<bool> HandleArguments()
225225 args = args . Skip ( 1 ) . ToArray ( ) ;
226226
227227 if ( ! args . Any ( ) ) {
228- var options = await AppInterface . MainMenuDialog . ReadAsync ( ) ;
228+ var options = await AppInterface . MainMenuDialog . ReadInputAsync ( ) ;
229229
230230 var file = options . DragAndDrop ;
231231
@@ -281,7 +281,7 @@ private static void OnSearchCompleted(object sender, SearchCompletedEventArgs ev
281281 cts . Dispose ( ) ;
282282
283283 SystemSounds . Exclamation . Play ( ) ;
284- ConsoleManager . Refresh ( ) ;
284+ ConsoleDialog . Refresh ( ) ;
285285
286286 if ( Config . PriorityEngines == SearchEngineOptions . Auto ) {
287287 var m = Client . Results . OrderByDescending ( x => x . PrimaryResult . Similarity ) ;
@@ -296,7 +296,7 @@ private static void OnResultCompleted(object sender, ResultCompletedEventArgs ev
296296 {
297297 var result = eventArgs . Result ;
298298
299- var option = NConsoleFactory . CreateResultOption ( result ) ;
299+ var option = ConsoleUIFactory . CreateResultOption ( result ) ;
300300
301301 bool ? isFiltered = eventArgs . IsFiltered ;
302302
0 commit comments