@@ -790,7 +790,7 @@ def initHead(self, info):
790
790
try :
791
791
self .headWin .addstr (0 , 0 , info , curses .color_pair (4 ))
792
792
if self ._cnf .locked :
793
- self .headWin .addstr (' [' , curses .color_pair (5 ))
793
+ self .headWin .addstr ('[' , curses .color_pair (5 ))
794
794
self .headWin .addstr ('Session Locked' , curses .color_pair (4 ))
795
795
self .headWin .addstr ('] ' , curses .color_pair (5 ))
796
796
else :
@@ -5211,15 +5211,22 @@ def _tag_a_title(self):
5211
5211
# self.refreshBody()
5212
5212
5213
5213
def _show_stations_history_notification (self , msg_id ):
5214
- msg = (
5215
- '___Operation not suported!!!___\n ____Connection timeout is 0 ' ,
5216
- '___Pelase wait for the player___\n __________to settle'
5217
- )
5218
- self ._show_notification_with_delay (
5219
- txt = msg [msg_id ],
5220
- mode_to_set = self .ws .NORMAL_MODE ,
5221
- callback_function = self .refreshBody
5222
- )
5214
+ if self ._limited_height_mode or self ._limited_width_mode :
5215
+ msg = (
5216
+ 'Operation not supported' ,
5217
+ 'Please wait for the player to settle...'
5218
+ )
5219
+ self .log .write (msg = msg [msg_id ], help_msg = True , suffix = self ._status_suffix )
5220
+ else :
5221
+ msg = (
5222
+ '___Operation not suported!!!___\n ____Connection timeout is 0 ' ,
5223
+ '___Please wait for the player___\n __________to settle'
5224
+ )
5225
+ self ._show_notification_with_delay (
5226
+ txt = msg [msg_id ],
5227
+ mode_to_set = self .ws .NORMAL_MODE ,
5228
+ callback_function = self .refreshBody
5229
+ )
5223
5230
5224
5231
def keypress (self , char ):
5225
5232
if self ._system_asked_to_terminate :
@@ -7671,13 +7678,22 @@ def _show_delayed_notification(self, txt, delay=.75):
7671
7678
)
7672
7679
7673
7680
def _show_no_station_history_notification (self ):
7674
- self ._show_delayed_notification ('___History is empty!!!___' )
7681
+ if self ._limited_height_mode or self ._limited_width_mode :
7682
+ self .log .write (msg = 'History is empty!!!' , help_msg = True , suffix = self ._status_suffix )
7683
+ else :
7684
+ self ._show_delayed_notification ('___History is empty!!!___' )
7675
7685
7676
7686
def _show_first_station_history_notification (self ):
7677
- self ._show_delayed_notification ('___Already at first item!!!___' )
7687
+ if self ._limited_height_mode or self ._limited_width_mode :
7688
+ self .log .write (msg = 'Already at first item!!!' , help_msg = True , suffix = self ._status_suffix )
7689
+ else :
7690
+ self ._show_delayed_notification ('___Already at first item!!!___' )
7678
7691
7679
7692
def _show_last_station_history_notification (self ):
7680
- self ._show_delayed_notification ('___Already at last item!!!___' )
7693
+ if self ._limited_height_mode or self ._limited_width_mode :
7694
+ self .log .write (msg = 'Already at last item!!!' , help_msg = True , suffix = self ._status_suffix )
7695
+ else :
7696
+ self ._show_delayed_notification ('___Already at last item!!!___' )
7681
7697
7682
7698
def _show_station_pasted (self ):
7683
7699
self ._show_delayed_notification ('___Station pasted!!!___' )
0 commit comments