code: def add_space(window):
          
  
          row, col = window.getyx()
          _, max_cols = window.getmaxyx()
          n_cols = max_cols - col - 1
          if n_cols <= 0:
              # Trying to draw outside of the screen bounds
              return
  
          window.addstr(row, col, ' ')
docs: Shortcut for adding a single space to a window at the current position