code: def move_cursor_up(self, n):
      # move the cursor to the head of the progress bar
      if os.name == "nt":
          set_console_cursor_position(0, -n)
      else:
          self._out.write("\033[{:d}A".format(n))
  
file_path: chainer/chainer/training/extensions/util.py
imports: import collections
  import os
  import sys
  import time
label_desc: Use image node_id 7 for calling the ProgressBar obj's underlying member method code with example usage: obj.move_cursor_up(n) without return types