tolstoyevsky / gits

Web-based terminal emulator
Apache License 2.0
7 stars 0 forks source link

Split `_cap_smso_rev` into two methods #33

Closed eugulixes closed 7 years ago

eugulixes commented 7 years ago

@dshil Yeah, in Linux console smso and rev represent the \E[7m escape sequence. When the _exec_escape_sequence method sees \E[7m, it calls _cap_smso according to linux_console.yml. In screen smso represents \E[3m and rev represents \E[7m. When Gits supports screen, it will have something like screen.yml according to which _exec_escape_sequence will call _cap_smso when it sees \E[3m and call _cap_rev when it sees \E[7m.